css: add more aggressive overrides for background and text colour (#1384)

* add more aggressive overrides for background and text colour

* reduce styles changes
This commit is contained in:
James Sizeland
2025-06-12 13:24:50 +01:00
committed by GitHub
parent d8cc220c18
commit 28c6c1ec58
+2 -1
View File
@@ -108,8 +108,9 @@ const getColorStyles = (
html, body {
color: ${fg};
}
div, p, span, pre {
div, p, span, pre , h1, h2, h3, h4, h5, h6 {
${overrideColor ? `background-color: ${bg} !important;` : ''}
${overrideColor ? `color: ${fg} !important;` : ''}
}
a:any-link {
${overrideColor ? `color: ${primary};` : isDarkMode ? `color: lightblue;` : ''}