Skip to content

storeTheme ​

Overview ​

The store for managing the theme.

Signature ​

storeTheme(pinia, hot)

Parameters ​

NameTypeRequiredDescription
piniaPinianoPinia instance to retrieve the store
hotStoreGenericnodev only hot module replacement

Returns ​

Store

Properties ​

$id ​

Id of the store. Used by map helpers.

Type: "theme"

Source: node_modules/.pnpm/pinia@3.0.4_typescript@5.9.3_vue@3.5.43_typescript@5.9.3_/node_modules/pinia/dist/pinia.d.ts:654

components ​

Registered component configurations keyed by component name.

Type: object

Source: client/lib/stores/storeTheme.js:165

variants ​

Registered variant configurations keyed by component name, then by variant name.

Type: object

Source: client/lib/stores/storeTheme.js:171

Methods ​

Source ​

client/lib/stores/storeTheme.js:158