Skip to content

stores/storeTheme ​

Overview ​

Pinia store for registering and managing UI component theme variants and their spot configurations.

Methods ​

Types ​

ComponentConfig ​

The configuration for a component.

NameTypeDescription
defaultVariantVariantName
spotsSpotName[]

ComponentName ​

The unique name of a component.

ComponentName = string

SpotName ​

The unique-per-component name of a spot.

SpotName = string

ThemeState ​

NameTypeDescription
componentsobject
variantsobject

ThemeStore ​

ThemeStore = ReturnType

VariantConfig ​

The configuration for a variant.

VariantConfig = object

VariantName ​

The unique-per-component name of a variant.

VariantName = string

Source ​

client/lib/stores/storeTheme.js:1