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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user