tsimport {XDSTheme} from '@xds/core/theme'
| Guidance | Practices |
|---|---|
| Do | Build app themes that are known ahead of time with `npx xds theme build`, then import the generated CSS and built theme object. |
| Do | Use runtime themes when the theme is created or edited in the browser, such as theme editors, user branding, or prototypes. |
| Don't | Default to runtime themes in SSR production apps. Component overrides inject after hydration instead of shipping as static CSS. |