Dark theme: readable muted text (override Bootstrap --bs-secondary-color vars), lighter muted palette; asset v34

This commit is contained in:
2026-10-12 19:47:01 +03:00
parent 8d5031364e
commit 9f724a4817
9 changed files with 28 additions and 21 deletions

View File

@@ -15,7 +15,11 @@ body {
/* Палитра Б3: нейтральный каркас + бордовый акцент.
Цвет несёт смысл: акцент — действия и фокус, зелёный/янтарный — статусы защиты,
винный — деструктивные действия и негативная тональность. */
/* muted-текст Bootstrap (.text-muted/placeholder) идёт через --bs-secondary-color с !important,
поэтому переопределяем её переменные под нашу палитру в обеих темах */
:root {
--bs-secondary-color-rgb: 116, 116, 124;
--bs-secondary-color: rgba(116, 116, 124, 0.9);
--bs-body-font-family: 'Inter', system-ui, -apple-system, sans-serif;
--bs-body-bg: #fafafa;
--bs-body-color: #131316;
@@ -51,10 +55,13 @@ body {
}
[data-theme="dark"] {
--bs-secondary-color-rgb: 232, 233, 236;
--bs-secondary-color: rgba(232, 233, 236, 0.72);
--bs-emphasis-color: #ffffff;
--c-bg: #101014;
--c-surface: #17181d;
--c-text: #e8e9ec;
--c-text-muted: #9a9ba4;
--c-text-muted: #a6a8b2;
--c-text-link: #d98b98;
--c-text-link-hover: #f0b9c2;
--c-border: #26272e;