fix: add more elements to color overrides (#2265)
This commit is contained in:
@@ -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;` : ''}
|
||||
|
||||
Reference in New Issue
Block a user