# ThemeStyle

Supply UI 1.1.0. Other parts.

Applies a saved theme to the whole tool. Put it in `<head>` of the root layout, and switch the theme on at `<html>` with `themeAttributes(theme)`. Works on the server; the values are checked, so a database value is safe to pass.

## Options

| Option | Type | Default | What it does |
| --- | --- | --- | --- |
| `theme` (needed) | `unknown` |  | The saved theme settings (from ThemeEditor or the database); unknown values are ignored. |

## Other parts: notes

Parts of a bigger component (a `CardBody` of a `Card`, a `DialogTitle` of a `Dialog`) and pieces used inside others. Use them inside their component, as its page shows.
