css: overriding book color also applies to the font elements (#1721)

This commit is contained in:
Huang Xin
2025-07-31 10:40:08 +08:00
committed by GitHub
parent efd85e67d9
commit 097fde203d
+1 -1
View File
@@ -117,7 +117,7 @@ const getColorStyles = (
background-color: var(--theme-bg-color, transparent);
background: var(--background-set, none);
}
div, p, h1, h2, h3, h4, h5, h6 {
div, p, font, h1, h2, h3, h4, h5, h6 {
${overrideColor ? `background-color: ${bg} !important;` : ''}
${overrideColor ? `color: ${fg} !important;` : ''}
}