> ## 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

> Swift Structure

**Structure**

Global style variables that every element of the checkout inherits.

```swift theme={null}
struct CheckoutAppearanceVariables
```

Use variables to set the base look once. Use `CheckoutAppearanceRules` to override single elements.

## Initializers

### init(colors:)

Creates the variable set.

```swift theme={null}
init(colors: CheckoutVariablesColorStyle? = nil)
```

### init(from:)

Inherited from `Decodable.init(from:)`.

```swift theme={null}
init(from decoder: any Decoder) throws
```

## Instance Properties

| Property | Type                           | Description        |
| -------- | ------------------------------ | ------------------ |
| `colors` | `CheckoutVariablesColorStyle?` | The global colors. |
