frontend: one glass token pair in place of three copied light and dark blocks
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.
This commit is contained in:
parent
2a719a52e8
commit
1ca82b3e09
1 changed files with 93 additions and 122 deletions
|
|
@ -16,9 +16,13 @@
|
|||
.page-header {
|
||||
/* Stickiness lives on the `.sticky-top` wrapper (common.css) that
|
||||
common.js wraps this header in. */
|
||||
background: color-mix(in srgb, var(--bg) 92%, transparent);
|
||||
-webkit-backdrop-filter: blur(8px) saturate(120%);
|
||||
backdrop-filter: blur(8px) saturate(120%);
|
||||
background: color-mix(
|
||||
in srgb,
|
||||
var(--bg) calc(100% - 8% * var(--glass-clear)),
|
||||
transparent
|
||||
);
|
||||
-webkit-backdrop-filter: var(--glass-filter);
|
||||
backdrop-filter: var(--glass-filter);
|
||||
border-bottom: 1px solid var(--purple-dim);
|
||||
display: flex;
|
||||
/* Keep the back-link + sub-tab nav on one row. Without an explicit
|
||||
|
|
|
|||
Loading…
Reference in a new issue