fix(scss): prevent HLJS default text and bg colors getting overrided

This commit is contained in:
George Cushen committed 2022-02-09 00:08:13 +00:00
1 parent 753da251dd
commit 30e85a648b
2 files changed
+5 -2

No files matched your search

+4 -1
View File
@@ -203,8 +203,11 @@ a:focus {
pre,
code {
font-family: $sta-font-mono, monospace;
color: #c7254e;
}
pre,
code:not(.hljs) {
color: #c7254e;
/* Match bg of default highlight theme. */
background-color: rgb(248, 248, 248);
}
+1 -1
View File
@@ -45,7 +45,7 @@ body.dark,
}
.dark pre,
.dark code {
.dark code:not(.hljs) {
color: rgb(139, 233, 253);
background-color: rgb(68, 71, 90);
}