Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/luizdepra/hugo-coder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz F. A. de Prá <luiz.pra@luizalabs.com>2022-09-02 21:46:13 +0300
committerLuiz F. A. de Prá <luiz.pra@luizalabs.com>2022-09-02 21:46:13 +0300
commit476429d42ac1971595ccd44a8232685a5ee86d8a (patch)
treec877ce1edbc21e1b50840742b22e2926ceea8410
parent900c7efb3cf252a4cd71a14c50bae2a8401d3519 (diff)
Fix code highlight bg and fg issues
-rw-r--r--assets/scss/_base_dark.scss5
1 files changed, 3 insertions, 2 deletions
diff --git a/assets/scss/_base_dark.scss b/assets/scss/_base_dark.scss
index 6443621..07ca02a 100644
--- a/assets/scss/_base_dark.scss
+++ b/assets/scss/_base_dark.scss
@@ -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;