From bbabee1ef0baaf5f510fc76d5f2ba7fb1c76cf0d Mon Sep 17 00:00:00 2001 From: Liyuan Li Date: Fri, 30 Oct 2020 17:05:07 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/287 --- themes/daylight/theme.css | 7 +++++++ themes/midnight/theme.css | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/themes/daylight/theme.css b/themes/daylight/theme.css index 8880f63c..373ba60d 100644 --- a/themes/daylight/theme.css +++ b/themes/daylight/theme.css @@ -71,4 +71,11 @@ --b3-vditor-mark-paren-color: #008000; --b3-vditor-mark-block-color: #660e7a; --b3-vditor-mark-tag-color: #0033b3; + + /* 即时渲染行内元素颜色 */ + --b3-vditor-inline-strong-color: #202124; + --b3-vditor-inline-em-color: #202124; + --b3-vditor-inline-s-color: #202124; + --b3-vditor-inline-link-color: #4285f4; + --b3-vditor-inline-tag-color: #5f6368; } diff --git a/themes/midnight/theme.css b/themes/midnight/theme.css index ead12694..f6287008 100644 --- a/themes/midnight/theme.css +++ b/themes/midnight/theme.css @@ -71,4 +71,11 @@ --b3-vditor-mark-paren-color: #6a8759; --b3-vditor-mark-block-color: #9876aa; --b3-vditor-mark-tag-color: #cc7832; + + /* 即时渲染行内元素颜色 */ + --b3-vditor-inline-strong-color: #e8eaed; + --b3-vditor-inline-em-color: #e8eaed; + --b3-vditor-inline-s-color: #e8eaed; + --b3-vditor-inline-link-color: #4285f4; + --b3-vditor-inline-tag-color: #9aa0a6; }