<XrThemeProvider>
A theme for everything inside it: a whole theme, an accent colour, or both. See Theming.
Usage
vue
<XrThemeProvider accent="#f43f5e">
<XrButton>Delete</XrButton>
</XrThemeProvider>API
Props
| Prop | Type | Default | Description |
|---|---|---|---|
accent | string | One accent colour; primary, hover, active and focus colours are derived from it (withAccent). | |
theme | ThemeTokens | The theme for everything inside it. Defaults to the surrounding theme. |