mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 12:13:58 +00:00
fix(scss): prevent HLJS default text and bg colors getting overrided
This commit is contained in:
1 parent
753da251dd
commit
30e85a648b
2 files changed
+5
-2
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user