stores/storeTheme
Overview
Pinia store for registering and managing UI component theme variants and their spot configurations.
Methods
- storeTheme - The store for managing the theme.
Types
ComponentConfig
The configuration for a component.
| Name | Type | Description |
|---|---|---|
| defaultVariant | VariantName | |
| spots | SpotName[] |
ComponentName
The unique name of a component.
ComponentName = string
SpotName
The unique-per-component name of a spot.
SpotName = string
ThemeStore
ThemeStore = Store
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