From 008e6ab8caa5cbdc0711f7e7e7468d81412e770e Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 29 Oct 2024 11:05:19 +0800 Subject: [PATCH] :lipstick: https://github.com/siyuan-note/siyuan/issues/12844 --- app/appearance/themes/daylight/theme.css | 2 +- app/appearance/themes/midnight/theme.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/appearance/themes/daylight/theme.css b/app/appearance/themes/daylight/theme.css index 2f97b9508..33d4eae82 100644 --- a/app/appearance/themes/daylight/theme.css +++ b/app/appearance/themes/daylight/theme.css @@ -136,7 +136,7 @@ /* switch */ --b3-switch-background: #e1e3e1; - --b3-switch-border: #aeaeae; + --b3-switch-border: var(--b3-theme-on-surface-light); --b3-switch-hover: rgba(31, 31, 31, 0.06); --b3-switch-checked: #fff; --b3-switch-checked-background: var(--b3-theme-primary); diff --git a/app/appearance/themes/midnight/theme.css b/app/appearance/themes/midnight/theme.css index 769de9da3..9779a6f78 100644 --- a/app/appearance/themes/midnight/theme.css +++ b/app/appearance/themes/midnight/theme.css @@ -135,7 +135,7 @@ /* switch */ --b3-switch-background: #444746; - --b3-switch-border: #8e918f; + --b3-switch-border: var(--b3-theme-on-surface-light); --b3-switch-hover: rgba(253, 252, 251, .10); --b3-switch-checked: var(--b3-theme-primary); --b3-switch-checked-background: #a8c7fa;