A theme imports base.css and sets again only what it changes.
A theme imports base.css and sets again only what it changes. Themes share no helpers, so each one reads on its own.
What a theme sets
- Materials on the page: their fills and edges, as tokens in
@theme, with the other colors. - Materials inside each container: on its class, every variable it changes, since one a container leaves alone keeps the page's.
- Edges are a
box-shadow, never aborder, which takes room. A card's inner edge,--inset-shadow-card, is drawn on a frame over what it holds. - One component's part: through its public
data-slot, with colors through the tokens the part reads.