forked from akai/readest
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:
@@ -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;` : ''}
|
||||
|
||||
Reference in New Issue
Block a user