fix(витрина): цвет текста закреплён на витрине — в тёмной теме он наследовался от body и абзацы пропадали
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -65,6 +65,9 @@ button { font-family: inherit; }
|
||||
--shadow-sm: 0 1px 2px rgba(43,41,38,.05); --shadow-md: 0 6px 24px rgba(43,41,38,.09);
|
||||
--focus-ring: 0 0 0 3px rgba(192,69,58,.28);
|
||||
--landing-amber: #e8a13a; --landing-amber-ink: #3a2a10;
|
||||
/* Цвет текста задаём здесь же: иначе он наследуется от body, а там в тёмной теме
|
||||
светлый — и абзацы витрины становились почти белыми на белых карточках. */
|
||||
color: var(--text);
|
||||
display: flex; flex-direction: column; height: 100vh; overflow-y: auto; background: #f6f1ea;
|
||||
}
|
||||
#view-banner { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: center; padding: .55rem var(--s4); font-size: .85rem; line-height: 1.4; color: var(--text); background: var(--accent-light); border-bottom: 2px solid var(--accent); }
|
||||
|
||||
Reference in New Issue
Block a user