> For the complete documentation index, see [llms.txt](https://foxecom.gitbook.io/foxify-app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://foxecom.gitbook.io/foxify-app/page-management/global-styles.md).

# Global styles

{% embed url="<https://youtu.be/5x-42UZWFJ4>" %}

## What is Global styles?

Global styles is a system of reusable design variables and presets. Instead of styling each element individually, you set your brand's colors, font sizes, and button styles in one place — then apply them across your store with a single click.

Any change you make to Global styles is automatically applied everywhere that style is used, keeping your store visually consistent without manual rework.

<figure><img src="/files/4nt5ZhDazmuP2MkLpN8t" alt="" width="310"><figcaption></figcaption></figure>

### What's inside

The Global styles panel has three tabs:

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Variables</strong></td><td>Reusable values — colors, font sizes, borders, spacing, and custom variables.</td><td><a href="/pages/yYRPgVEGWZAOwyYKbUHB#variables">/pages/yYRPgVEGWZAOwyYKbUHB#variables</a></td></tr><tr><td><strong>Text</strong></td><td>Predefined text styles — Mega title, headings, body text, captions, and more.</td><td><a href="/pages/yYRPgVEGWZAOwyYKbUHB#text-styles">/pages/yYRPgVEGWZAOwyYKbUHB#text-styles</a></td></tr><tr><td><strong>Buttons</strong></td><td>Predefined button styles — Primary, Outline, White, and Link.</td><td><a href="/pages/yYRPgVEGWZAOwyYKbUHB#button-styles">/pages/yYRPgVEGWZAOwyYKbUHB#button-styles</a></td></tr></tbody></table>

## How to open Global styles

{% stepper %}
{% step %}
Open any page in FoxStudio.
{% endstep %}

{% step %}
Click the **paintbrush icon** (<img src="/files/ADwQEvk8Fxj6a77VN26y" alt="" data-size="line">) in the left sidebar
{% endstep %}

{% step %}
The Global styles panel opens with Variables, Text, and Buttons tabs.
{% endstep %}
{% endstepper %}

<figure><img src="/files/7JQKQRp7poa6ZGgZk1uA" alt=""><figcaption></figcaption></figure>

### **Variables**

Variables are reusable values you define once and apply across your pages. The Variables tab has 5 categories, each with default presets you can edit or extend.

<table><thead><tr><th width="150">Category</th><th>What it controls</th></tr></thead><tbody><tr><td>Color</td><td>Brand colors: Accent 1 &#x26; 2, Background 1 &#x26; 2, Body text, Heading text, Border, Light grey, Dark grey, Hot color, and more</td></tr><tr><td>Font size</td><td>Reusable size variables used across text elements</td></tr><tr><td>Border</td><td>Border width and radius presets for consistent edge styling</td></tr><tr><td>Space</td><td>Spacing variables for padding and gap — keeps layout rhythm consistent</td></tr><tr><td>Custom</td><td>Any additional variables your store needs beyond the defaults. <a href="#custom-variables">Learn more</a></td></tr></tbody></table>

#### Custom variables

Custom variables let you define your own reusable values for design properties that don't fit the default categories.

To add a custom variable:

{% stepper %}
{% step %}
**Create**

In the **Variables** tab, expand **Custom** → click **+** → **fill name and value > Save.**

* Name: How you'll reference the variable. Becomes a CSS variable automatically.
* Value type:
  * **Number** — a numeric value with a unit (px, %, em, etc.)
  * **String** — any text value
    {% endstep %}

{% step %}
**Apply**

In the Inspector panel's Design tab, click the variable icon next to any compatible field → search for your custom variable → select it.
{% endstep %}
{% endstepper %}

#### **How to apply a variable**

In the Inspector panel's **Design** tab, click the variable icon next to any Color, Space, or Border field to select from your saved variables.<br>

<figure><img src="/files/nd9XTRTfe2RNjT8LElhh" alt=""><figcaption></figcaption></figure>

### Text styles

Text styles are predefined typographic presets you can apply to any text element with one click.&#x20;

#### Customize a text style

Click any style to open its settings panel. Each text style lets you configure:

<table><thead><tr><th width="150">Setting</th><th>What it controls</th></tr></thead><tbody><tr><td>Style name</td><td>The label shown in the text styles list</td></tr><tr><td>Color</td><td>Text color — can be linked to a Color variable</td></tr><tr><td>Font family</td><td>Typeface for this style</td></tr><tr><td>Font size</td><td>Size in px — can be linked to a Font size variable</td></tr><tr><td>Line height</td><td>Vertical spacing between lines in px</td></tr><tr><td>Font weight</td><td>Thickness of the text (Regular, Medium, Bold, etc.)</td></tr><tr><td>Letter spacing</td><td>Horizontal spacing between characters in px</td></tr><tr><td>Text transform</td><td>AA (uppercase), Aa (capitalize), aa (lowercase)</td></tr><tr><td>Text decoration</td><td>Underline, strikethrough, or none</td></tr></tbody></table>

Click **Update** when done.

{% hint style="info" %}
You can edit Foxify's default text styles but cannot delete them. You can add your own custom styles in addition to the defaults.
{% endhint %}

#### Apply a text style

In the page editor, select a text element → click **Select style** in the toolbar to choose a predefined text style.

<figure><img src="/files/3CtONyhjsm8Ay2OuOmgL" alt=""><figcaption></figcaption></figure>

### Button styles

Foxify includes 4 default button presets:

* Primary button  : Your main CTA. Solid fill. Used for the most important action on a page.
* Outline button: Transparent background with border. Used for secondary actions alongside a primary button.
* White button: White fill. Good for use over dark or image backgrounds.
* Link button: Text only, no border or fill. Used for low-emphasis actions.

Similar to **Variables** and **Text**, you can add and customize your new button styles for later use.

#### Customize a button style

Click on any button style to open its settings. Each button has two states — **Normal** and **Hover** — and you can configure: Color, Background color, Font family, Font size, Font weight, and more.

<figure><img src="/files/m7PNkfkSNeXZaZaYOhk3" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can edit Foxify's default button styles but cannot delete them. You can add your own custom button styles in addition to the defaults.
{% endhint %}

#### Apply a button style

In the page editor, select a button element → click **Select style** in the toolbar to apply a preset.

<figure><img src="/files/lPijD2EnO0VnxfewO9IL" alt=""><figcaption></figcaption></figure>

***

<figure><img src="/files/osE0TqmEK0BTYKBoIrie" alt=""><figcaption><p><a href="https://www.figma.com/community/plugin/1415136291103675876/figma-to-shopify-with-foxify-shopify-smart-visual-page-builder?utm_source=foxecom&#x26;utm_medium=help_center_foxify_global_styles&#x26;utm_campaign=anchor-text&#x26;utm_term=use_free_now">Use free now </a><span data-gb-custom-inline data-tag="emoji" data-code="26a1">⚡</span></p></figcaption></figure>

<figure><img src="/files/w4KcZVGhV8kMjivsnpdR" alt=""><figcaption><p><a href="https://chromewebstore.google.com/detail/foxtransfer-html-to-shopi/babcinhpofjfhjjbcnjhoikcjbgebimb?utm_source=foxecom&#x26;utm_medium=help_center_foxify_global_styles&#x26;utm_campaign=anchor-text&#x26;utm_term=install_foxtransfer_chrome_extension_free">Install FoxTransfer Chrome Extension FREE</a></p></figcaption></figure>
