Skip to main content

Interface: BundleCssVarsOptions

Defined in: roots/toCssVars.ts:392

Options for bundleToCssVars().

Properties

themeId?

optional themeId?: string

Defined in: roots/toCssVars.ts:399

Theme identifier for scoping. Generates [data-tt-theme="<themeId>"] selectors. When omitted, CSS targets :root (canonical 1-theme model). The alternate mode selector becomes :root[data-tt-mode="dark"]. Use themeId only for multi-theme scenarios (Storybook, micro-frontends).