fix(css): overriding book color for more semantic tags, closes #2433 (#2436)

This commit is contained in:
Huang Xin
2025-11-12 02:44:13 +08:00
committed by GitHub
parent 366e5fafad
commit c7238cb04c
+2 -1
View File
@@ -134,7 +134,8 @@ const getColorStyles = (
background-color: var(--theme-bg-color, transparent);
background: var(--background-set, none);
}
section, blockquote, div, p, font, h1, h2, h3, h4, h5, h6, li, span {
section, aside, blockquote, article, nav, header, footer, main, figure,
div, p, font, h1, h2, h3, h4, h5, h6, li, span {
${overrideColor ? `background-color: ${bg} !important;` : ''}
${overrideColor ? `color: ${fg} !important;` : ''}
${overrideColor ? `border-color: ${fg} !important;` : ''}