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

# CheckoutVariablesColorStyle.Companion

> Kotlin Object

**Object**

```kotlin theme={null}
companion object
```

## Deprecated

### ~~invoke~~

> [!WARNING]
>
> Deprecated. Pass each color as a CheckoutColor, for example accentColor = CheckoutColor.color(Color.Blue), CheckoutColor.hex("#0066FF"), or CheckoutColor.css("rgb(0, 102, 255)").

```kotlin theme={null}
operator fun invoke(textPrimary: String? = null, textSecondary: String? = null, backgroundPrimary: String? = null, borderPrimary: String? = null, danger: String? = null, warning: String? = null, accent: String? = null): CheckoutVariablesColorStyle
```

Creates the global colors from CSS color strings.
