From 56ddf4f5d2a0965122acd0349ce987af98cad2a1 Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Thu, 29 Jul 2021 09:25:42 +0800 Subject: [PATCH] feat: enhancements - update light color scheme - fix block-ref in block-ref - fix block-ref font size in headers --- src/_blocks.scss | 8 ++++++-- src/_theme_light.scss | 8 ++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/_blocks.scss b/src/_blocks.scss index 01a1dda..e78c674 100644 --- a/src/_blocks.scss +++ b/src/_blocks.scss @@ -9,7 +9,7 @@ /* block reference */ .block-ref { - font-size: 14px; + font-size: inherit; padding: 1px 5px 0; border-radius: 2px; background: var(--ct-block-reference-background); @@ -22,7 +22,7 @@ .block-ref:before { content: "#"; color: var(--ls-active-primary-color); - font-size: 12px; + font-size: 0.8em; padding: 0 4px 0 0; } @@ -35,6 +35,10 @@ padding: 0 0.2em; } +.block-ref .block-ref { + padding: 0 0 0 0.2em; +} + .open-block-ref-link { opacity: 1; font-family: Asap; diff --git a/src/_theme_light.scss b/src/_theme_light.scss index 670ae8a..1d84c33 100644 --- a/src/_theme_light.scss +++ b/src/_theme_light.scss @@ -1,15 +1,15 @@ .white-theme, html[data-theme="light"] { --ct-primary-color: #106ba3; - --ct-secondary-color: #0a4163; + --ct-secondary-color: #004174; --ct-warning-color: #ff7262; --ct-success-color: #0dcf82; --ct-highlight-color: #ffc600; --ls-primary-background-color: #fff; - --ls-secondary-background-color: #f7f6f4; - --ls-tertiary-background-color: #f1eee8; - --ls-quaternary-background-color: #e8e5de; + --ls-secondary-background-color: #f6f6f6; + --ls-tertiary-background-color: #f1f1f1; + --ls-quaternary-background-color: #e4e4e4; --ls-primary-text-color: rgb(40, 40, 40); --ls-secondary-text-color: #161e2e;