Refine header emphasis, field-on-layer treatment, and narrow-pane control collapse

This commit is contained in:
2026-06-10 14:14:02 +03:00
parent 2410c6e965
commit 68a044752f
18 changed files with 478 additions and 88 deletions
+11
View File
@@ -102,6 +102,17 @@
--accent-hover: #0c5f77;
--accent-contrast: #ffffff;
}
/*
* Soft accent — a low-emphasis accent wash for a tinted-but-quiet surface (e.g.
* the header's Donate button: noticeable without competing with a primary action).
* Derived from the swappable accent + the theme background, so it follows any
* accent/theme automatically rather than being a hardcoded per-accent value.
*/
:root {
--accent-soft: color-mix(in srgb, var(--accent) 12%, var(--bg));
--accent-soft-hover: color-mix(in srgb, var(--accent) 20%, var(--bg));
}
[data-theme='dark'] {
--accent: #2dd4bf;
--accent-hover: #5eead4;