mirror of
https://github.com/we-promise/sure
synced 2026-04-25 17:15:07 +02:00
fix: enhance text contrast for headings, and paragraphs in blockquotes in dark mode on the Guide page (#1369)
This commit is contained in:
@@ -248,6 +248,18 @@
|
||||
color: theme(colors.white) !important;
|
||||
}
|
||||
|
||||
/* Specific override for headings in prose under dark mode */
|
||||
.prose:where([data-theme=dark], [data-theme=dark] *) h1,
|
||||
.prose:where([data-theme=dark], [data-theme=dark] *) h2,
|
||||
.prose:where([data-theme=dark], [data-theme=dark] *) h3,
|
||||
.prose:where([data-theme=dark], [data-theme=dark] *) h4,
|
||||
.prose:where([data-theme=dark], [data-theme=dark] *) h5,
|
||||
.prose:where([data-theme=dark], [data-theme=dark] *) h6,
|
||||
.prose:where([data-theme=dark], [data-theme=dark] *) blockquote,
|
||||
.prose:where([data-theme=dark], [data-theme=dark] *) thead th {
|
||||
color: theme(colors.white) !important;
|
||||
}
|
||||
|
||||
@layer base {
|
||||
[data-theme="dark"] {
|
||||
--color-success: var(--color-green-500);
|
||||
|
||||
Reference in New Issue
Block a user