# Spacing

## Video Overview

{% embed url="<https://youtu.be/XF7yrGB_CNo>" %}

This section uses the same scaling techniques as the typography section ensuring that everything is uniform across your website.

<figure><img src="https://949277485-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp10Tm4nYjo9MojbZ6zQt%2Fuploads%2FWzDizWGODOr5O2bAf3lE%2Fimage.png?alt=media&#x26;token=5695e5c4-a9a9-43b1-bdfe-6a9355441784" alt=""><figcaption><p>Spacing Section</p></figcaption></figure>

## Base Settings

In this section, you can choose your base settings, such as the minimum base size, maximum base size, or even the base scale index (this is where you set which variable becomes your base, by default, this is `--space-m`). See the base highlighted in blue on the right.

## Ratios

Just like with the typography, you can choose which kind of ratio in which your sizes change, ranging from Minor Second, Major Third, Perfect Fourth, Golden Ratio, plus many more.

<figure><img src="https://949277485-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp10Tm4nYjo9MojbZ6zQt%2Fuploads%2F9idYjvLE00rMZppYm64O%2Fimage.png?alt=media&#x26;token=b49286cb-8528-4625-9381-5d0eb809d014" alt=""><figcaption><p>Select the kind of scaling ratio</p></figcaption></figure>

{% hint style="info" %}
You can even click the edit button on the ratio section to toggle to manual mode for extra scaling control!
{% endhint %}

<figure><img src="https://949277485-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp10Tm4nYjo9MojbZ6zQt%2Fuploads%2FIo0UfLY1hcwz1By2ywWO%2Fimage.png?alt=media&#x26;token=52eb9982-5589-4ed3-9b10-d0c02a37dffb" alt=""><figcaption><p>Click the edit button on the ratio section to toggle to manual mode for extra scaling control.</p></figcaption></figure>

## Manual Mode

<figure><img src="https://949277485-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp10Tm4nYjo9MojbZ6zQt%2Fuploads%2Fm9cc6C4V8kY2DfJyXZdC%2Fimage.png?alt=media&#x26;token=1aa7b631-de9f-4107-882c-c27bf753fd46" alt=""><figcaption><p>Manual Sizing Mode</p></figcaption></figure>

Once again, you have full control should you choose to set your sizing manually. Here, you can change the name of your variables, and change their minimum and maximum sizes.

### Info on Class Generation

{% hint style="info" %}
Note: The manual tab is disabled from the class generators.
{% endhint %}

Users have the flexibility to name variables according to their preferred naming conventions. As a result, the suffixes appended to variables may differ from the conventional designations (e.g., -s, -m, -l, -xl) utilized in our class generation logic. Consequently, we have decided to remove this feature from the manual tab.

Additionally, users are encouraged to create their own selector groups and manually assign variables to their properties.
