From b15c67614c6234a28c56942a346e1f391ca1f6ad Mon Sep 17 00:00:00 2001 From: David Anguita Date: Tue, 25 Jul 2023 19:33:07 +0200 Subject: [PATCH] Customize
style in dark mode This reverts commit 1180517b9d082a47d224caf25ccd26817d0bc4e6. --- source/assets/stylesheets/base/_base.scss | 6 +++++- source/assets/stylesheets/base/_variables.scss | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/source/assets/stylesheets/base/_base.scss b/source/assets/stylesheets/base/_base.scss index 78dc08c..b4d4379 100644 --- a/source/assets/stylesheets/base/_base.scss +++ b/source/assets/stylesheets/base/_base.scss @@ -168,13 +168,17 @@ html { } hr { - border-bottom: $base-border; + border-bottom: 1px solid $base-border-color; border-left: 0; border-right: 0; border-top: 0; box-sizing: content-box; height: 0; margin: 0 0 $base-spacing; + + @include dark-color-scheme { + border-color: $base-border-color--dark; + } } img, diff --git a/source/assets/stylesheets/base/_variables.scss b/source/assets/stylesheets/base/_variables.scss index d73d141..ce699cb 100644 --- a/source/assets/stylesheets/base/_variables.scss +++ b/source/assets/stylesheets/base/_variables.scss @@ -40,7 +40,6 @@ $base-font-size: 16px; $base-line-height: 1.5; $base-spacing: 1.5rem; -$base-border: 1px solid $base-border-color; // Headings $heading-font-family: $font-family-monospace;