Skip to main content

Interface: ThemeStylesProps

Defined in: react.tsx:528

Props for the ThemeStyles component.

Extended by

Properties

nonce?

optional nonce?: string

Defined in: react.tsx:543

CSP nonce for the inline style tag.


theme

theme: ThemeBundle

Defined in: react.tsx:530

The theme bundle to generate CSS for.


themeId?

optional themeId?: string

Defined in: react.tsx:541

Theme identifier for CSS scoping ([data-tt-theme="<themeId>"]).

Omit in the canonical 1-theme model — CSS targets :root and the alternate mode selector becomes :root[data-tt-mode="dark"]. No theme name repetition required.

Pass themeId only for multi-theme scenarios (Storybook, micro-frontends, apps with visual theme switching).