mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-30 17:32:26 +00:00
Fix markdown heading colors for theme contrast
This commit is contained in:
1 parent
a76326eacf
commit
35a1d7052e
2 files changed
+10
-1
No files matched your search
@@ -271,6 +271,7 @@
|
||||
@apply prose max-w-none leading-relaxed text-text;
|
||||
--tw-prose-body: var(--color-text);
|
||||
--tw-prose-headings: var(--color-text-strong);
|
||||
--tw-prose-invert-headings: var(--color-text-strong);
|
||||
--tw-prose-lead: var(--color-text);
|
||||
--tw-prose-links: var(--color-accent-strong);
|
||||
--tw-prose-bold: var(--color-text-strong);
|
||||
@@ -287,6 +288,14 @@
|
||||
--tw-prose-td-borders: var(--color-border-subtle);
|
||||
}
|
||||
|
||||
.markdown-prose :where(h1, h2, h3, h4, h5, h6) {
|
||||
color: var(--color-text-strong);
|
||||
}
|
||||
|
||||
.markdown-prose :where(h1, h2, h3, h4, h5, h6) strong {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.markdown-prose a {
|
||||
color: var(--color-accent-strong);
|
||||
text-decoration-color: color-mix(in srgb, var(--color-accent-strong) 65%, transparent);
|
||||
|
||||
Reference in new issue
Block a user