> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CheckoutAppearanceVariables

> Kotlin Data Class

**Data Class**

```kotlin theme={null}
data class CheckoutAppearanceVariables(val fontFamily: String? = null, val spacingUnitLength: CheckoutLength? = null, val fontSizeUnitLength: CheckoutLength? = null, val cornerRadius: CheckoutLength? = null, val colors: CheckoutVariablesColorStyle? = null)
```

## Constructors

```kotlin theme={null}
constructor(fontFamily: String? = null, spacingUnitLength: CheckoutLength? = null, fontSizeUnitLength: CheckoutLength? = null, cornerRadius: CheckoutLength? = null, colors: CheckoutVariablesColorStyle? = null)
```

## Properties

| Property | Type | Description |
| - | - | - |
| `colors` | `CheckoutVariablesColorStyle?` | The global colors. |
| `cornerRadius` | `CheckoutLength?` | The corner radius of the checkout elements, for example `CheckoutLength.px(8)`. The corner radius of a rule, such as CheckoutInputRule.cornerRadius, has priority over it. |
| `fontFamily` | `String?` | The CSS `font-family` value for all the checkout text, for example `"Inter, sans-serif"`. If the device does not have the font, load the font with CheckoutAppearance.fonts. |
| `fontSizeUnitLength` | `CheckoutLength?` | The base unit of all the checkout font sizes, for example `CheckoutLength.px(4)`. The checkout sets each font size as a multiple of this unit. A CheckoutFontStyle.fontSize in a rule has priority over this unit. |
| `spacingUnitLength` | `CheckoutLength?` | The base unit of all the checkout spacing, for example `CheckoutLength.px(4)`. The checkout sets the space around and inside each element as a multiple of this unit. |

## Deprecated

### ~~borderRadius~~

> [!WARNING]
>
> Deprecated. Use cornerRadius instead.

```kotlin theme={null}
val borderRadius: String?
```

The corner radius as a CSS string.

### ~~fontSizeUnit~~

> [!WARNING]
>
> Deprecated. Use fontSizeUnitLength instead.

```kotlin theme={null}
val fontSizeUnit: String?
```

The font size unit as a CSS string.

### ~~spacingUnit~~

> [!WARNING]
>
> Deprecated. Use spacingUnitLength instead.

```kotlin theme={null}
val spacingUnit: String?
```

The spacing unit as a CSS string.
