From b8ed20001b8a71ab59f4b98c32f6a3cec2f187ff Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Wed, 4 Aug 2021 12:12:25 +0800 Subject: [PATCH] fix: adjust table even row bg color --- src/_blocks.scss | 1 + src/_theme_dark.scss | 2 ++ src/_theme_light.scss | 3 +++ 3 files changed, 6 insertions(+) diff --git a/src/_blocks.scss b/src/_blocks.scss index 1e6f132..22b8f9b 100644 --- a/src/_blocks.scss +++ b/src/_blocks.scss @@ -93,6 +93,7 @@ a:hover > .bullet-container .bullet { transform: scale(1); } +// hovering block indicator .block-content-wrapper > div > .block-content { & > span > span > :first-child { position: relative; diff --git a/src/_theme_dark.scss b/src/_theme_dark.scss index 941d04a..f12594b 100644 --- a/src/_theme_dark.scss +++ b/src/_theme_dark.scss @@ -15,6 +15,8 @@ html[data-theme="dark"] { --ls-tertiary-background-color: #38434c; --ls-quaternary-background-color: #404b55; + --ls-table-tr-even-background-color: var(--ls-secondary-background-color); + --ls-primary-text-color: rgb(235, 235, 235); --ls-secondary-text-color: rgb(200, 200, 200); diff --git a/src/_theme_light.scss b/src/_theme_light.scss index 3058db3..3a6b9c5 100644 --- a/src/_theme_light.scss +++ b/src/_theme_light.scss @@ -10,6 +10,9 @@ html[data-theme="light"] { --ls-secondary-background-color: #f8f9fa; --ls-tertiary-background-color: #e9ecef; --ls-quaternary-background-color: #dee2e6; + + --ls-table-tr-even-background-color: var(--ls-secondary-background-color); + --color-level-4: #ced4da; --color-level-5: #adb5bd;