Skip to content

createThemeStore

function createThemeStore(storageKey): ThemeStore;

Defined in: src/ui/theme.ts:75

Create the theme store for one product. storageKey is the product’s localStorage key ("xtandard-webhooks:theme"…); it is a stored-data contract, so products pass it explicitly.

Parameter Type
storageKey string

ThemeStore