Headers, badges, terminal panes, the message box and the dashboard's bars read --glass-clear and --glass-filter from theme.css; the light palette (colors.css) and the solid-backgrounds setting set them. Each surface keeps a single rule, the per-theme override blocks and the quiet-badge specificity workaround go, and the dashboard and agent page now follow the light palette like the swarm UI.
9 lines
421 B
CSS
9 lines
421 B
CSS
/* The frosted surfaces, made opaque while `data-solid="true"` is on `<html>`
|
|
(`solid-backgrounds.tsx`): the two glass tokens of `theme.css` go to solid,
|
|
and every glass surface follows. `html:root` outranks theme.css's `:root`
|
|
whatever order the stylesheets load in. The dialog scrim is left alone: it
|
|
dims the page on purpose. */
|
|
html:root[data-solid="true"] {
|
|
--glass-clear: 0;
|
|
--glass-filter: none;
|
|
}
|