What a box is made of, which any container can set again for what's inside it.
Containers
| Token | Use it for |
|---|---|
material-card | Cards. |
material-panel | Docked panels. |
material-float | Popups and dialogs. |
Inside
| Token | Use it for |
|---|---|
material-control | What you press. |
material-field | Where you type. |
Variables
| Token | Use it for |
|---|---|
--color-control | A control's fill, and a selected row's. |
--color-control-hover | A hovered control. |
--color-field | A field's fill. |
--shadow-card | A card's outer edge. |
--inset-shadow-card | A card's inner edge. |
--shadow-float | What floats. |
--shadow-control | Controls. |
--shadow-field | Fields. |
Scopes
Set the variables again on any element, and the materials inside it follow.
scope.tsx