XDSTheme@xds/core · theme
Preview coming soon
Usage
Wraps a subtree with a specific XDS theme. Use at the app root or around sections that need a different visual treatment.Import
tsimport {XDSTheme} from '@xds/core/theme'
Props
| Prop | Type | Description |
|---|---|---|
themerequired | XDSDefinedTheme | Theme created by defineTheme(). |
childrenrequired | ReactNode | Content to render with the theme. |
mode | 'light' | 'dark' | 'system' (default: 'system') | Color mode — system follows OS preference. |