Fix Decap CMS dark mode: ensure all text is light colored

Added catch-all rules for p, span, label, div, li, etc.
to prevent black text on dark background.

Chronicler #66
This commit is contained in:
Claude
2026-04-07 17:33:27 +00:00
parent 84ac2789e0
commit cc54e21520

View File

@@ -322,6 +322,16 @@
MISC
═══════════════════════════════════════════════════════════ */
/* Catch-all text colors - ensure nothing stays black */
p, span, label, div, li, td, th, dt, dd, figcaption, legend, summary {
color: var(--ff-text) !important;
}
/* Dimmed/secondary text */
small, .text-muted, [class*="subtle"], [class*="secondary"], [class*="hint"], [class*="description"] {
color: var(--ff-text-dim) !important;
}
/* Dividers and borders */
hr, [class*="Divider"] {
border-color: var(--ff-dark-lighter) !important;