style(frontend): mute the light theme background

The light theme page background was a glaring near-white (#f5f5f5) with pure
white sheets. Mirror the dark theme's approach (its background isn't pure
black) by dimming the surfaces and adding a faint lavender tint from the brand
palette, keeping the surface relationships intact: page on the dimmest surface,
sheets brighter to pop, chips slightly darker for definition.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-11 10:40:05 +03:00
parent 7a0c57a79c
commit aab62cbe41
+8 -5
View File
@@ -19,15 +19,18 @@
} }
:root[data-theme="light"] { :root[data-theme="light"] {
--color-bg-primary: #f5f5f5; /* Muted, faintly lavender-tinted surfaces not a glaring near-white, the same
--color-bg-secondary: #ffffff; way the dark theme's background isn't pure black. Page sits on the dimmest
--color-bg-elevated: #e8e8ec; surface; sheets are brighter to pop, chips a touch darker for definition. */
--color-bg-primary: #e4e2ec;
--color-bg-secondary: #f2f1f6;
--color-bg-elevated: #d8d6e2;
--color-accent: #6B68A0; --color-accent: #6B68A0;
--color-accent-hover: #5A578F; --color-accent-hover: #5A578F;
--color-text-primary: #111118; --color-text-primary: #111118;
--color-text-muted: #555566; --color-text-muted: #555566;
--color-tag-default: #ccccdd; --color-tag-default: #cbcad9;
--color-nav-bg: rgba(240, 240, 245, 0.85); --color-nav-bg: rgba(228, 226, 236, 0.85);
--color-nav-active: rgba(90, 87, 143, 0.22); --color-nav-active: rgba(90, 87, 143, 0.22);
} }