From bae738dc0df40bc8a5df2f7e8328a5bbff17adba Mon Sep 17 00:00:00 2001 From: hezhendong Date: Sun, 13 Apr 2025 22:41:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=AB=98=E4=BA=AE=E5=9D=97?= =?UTF-8?q?=E7=9A=84=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- theme.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/theme.css b/theme.css index 16d7488..e0ed9e5 100644 --- a/theme.css +++ b/theme.css @@ -305,6 +305,8 @@ body.is-mobile { --background-secondary-alt: rgba(18, 18, 18, 0.1); --background-setting-item: rgba(245, 245, 245, 0.05); --background-setting: rgba(28, 28, 28); + --text-highlight-bg: var(--blockquote-border-color); + } .theme-light { @@ -345,6 +347,8 @@ body.is-mobile { --background-secondary-alt: rgba(240, 240, 240, 0.1); --background-setting-item: rgba(28, 28, 28, 0.03); --background-setting: rgba(244, 244, 244); + --text-highlight-bg: var(--blockquote-border-color); + } .is-mobile.theme-light { @@ -723,8 +727,6 @@ body:not(.is-phone) .workspace-leaf.mod-active .tree-item-self.has-focus { /* 调整高亮颜色 */ .cm-s-obsidian span.cm-highlight { - background-color: var(--text-accent); - color: white !important; padding: 2px 5px; border-radius: 8px; } @@ -1210,8 +1212,6 @@ li { } .markdown-rendered mark { - background-color: var(--text-accent); - color: white !important; padding: 2px 5px !important; border-radius: 8px; }