ThemeProvider.
One provider for project defaults and live appearance preferences.
Theme provider active
The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.
Props & API reference
Parameters available in the shared component, including value types, requirements and accepted options.
| Parameter | Type | Required | Default | Possible values | Description |
|---|---|---|---|---|---|
children | ReactNode | Yes | — | — | Application subtree receiving theme context. |
config | IcoveraConfig | No | — | — | Project design configuration and appearance defaults. |
defaultTheme | "dark" | "light" | "system" | No | dark | dark · light · system | Override configured initial mode. |
defaultScheme | "violet" | "ocean" | "rose" | "ruby" | "emerald" | No | violet | violet · ocean · rose · ruby · emerald | Override initial color scheme. |
config.appearance.motion | "calm" | "expressive" | "none" | No | calm | calm · expressive · none | Shared interaction motion preference. |