From c047d12ea700b73e3dfc83092efad945cd59d229 Mon Sep 17 00:00:00 2001 From: "Amir M. Mohamadi" Date: Mon, 7 Feb 2022 16:27:49 +0330 Subject: [PATCH] Fixed pre and code text and bg color --- scss/_reset.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scss/_reset.scss b/scss/_reset.scss index 6cc5d177..4a4098b5 100644 --- a/scss/_reset.scss +++ b/scss/_reset.scss @@ -277,7 +277,7 @@ pre { padding: 1em; margin-top: 0; margin-bottom: 1em; - background: var(--#{$CSS_VAR_PFX}txt-color); + color: var(--#{$CSS_VAR_PFX}txt-color); background: var(--#{$CSS_VAR_PFX}bg-color-dark); border: var(--#{$CSS_VAR_PFX}border-width) solid var(--#{$CSS_VAR_PFX}bg-color-darker); border-radius: var(--#{$CSS_VAR_PFX}border-radius); @@ -293,6 +293,7 @@ code { font-size: 0.85em; word-wrap: break-word; padding: 0.18em 0.32em; + color: var(--#{$CSS_VAR_PFX}txt-color); background: var(--#{$CSS_VAR_PFX}bg-color-dark); border: var(--#{$CSS_VAR_PFX}border-width) solid var(--#{$CSS_VAR_PFX}bg-color-darker); border-radius: calc(var(--#{$CSS_VAR_PFX}border-radius) * 0.5);