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

This commit is contained in:
George Cushen 2022-02-09 00:08:13 +00:00
commit 30e85a648b
2 changed files with 5 additions and 2 deletions

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);
}

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);
}