Skip to content

Commit

Permalink
Fix code highlight bg and fg issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiz F. A. de Prá committed Sep 2, 2022
1 parent 900c7ef commit 476429d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/scss/_base_dark.scss
Expand Up @@ -41,11 +41,12 @@
// fix color schemes which do not explicitly set fg-color
.highlight {
pre {
color: $fg-color;
background-color: $alt-bg-color-dark;
color: $fg-color-dark;
}
}

pre {
:not(.highlight) > pre {
code {
background-color: inherit;
color: inherit;
Expand Down

0 comments on commit 476429d

Please sign in to comment.