fix: add more elements to color overrides (#2265)

This commit is contained in:
Daniil Leontev
2025-10-18 16:25:02 +02:00
committed by GitHub
parent 05e9549410
commit e0eb725d8b
+2 -1
View File
@@ -132,9 +132,10 @@ const getColorStyles = (
background-color: var(--theme-bg-color, transparent);
background: var(--background-set, none);
}
section, div, p, font, h1, h2, h3, h4, h5, h6 {
section, 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;` : ''}
}
pre, span { /* inline code blocks */
${overrideColor ? `background-color: ${bg} !important;` : ''}