From 1da20fad8a837beb2856053b270e85807bba2ddb Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 18 Sep 2026 17:37:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(theme):=20sidebar-toggle=E5=AE=9A=E6=A1=88?= =?UTF-8?q?=E6=81=92=E6=9A=97=E8=89=B2=E8=AF=AD=E5=A2=83(=E7=94=A8?= =?UTF-8?q?=E6=88=B72026-09-18=E7=BA=A0=E6=AD=A3)=E2=80=94=E2=80=94?= =?UTF-8?q?=E5=BA=95=E9=80=8F=E6=98=8E=E4=B8=8Etop=E5=90=8C=E5=BA=95(#1e29?= =?UTF-8?q?3b)=E3=80=81=E6=B1=89=E5=A0=A1=E7=BA=BF=E6=81=92#e2e8f0?= =?UTF-8?q?=E3=80=81=E6=97=A0=E8=BE=B9=E6=A1=86,=E4=B8=8D=E5=BC=95?= =?UTF-8?q?=E4=B8=BB=E9=A2=98=E5=8F=98=E9=87=8F=E5=88=87=E6=8D=A2=E9=A3=8E?= =?UTF-8?q?=E6=A0=BC=E4=B8=8D=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bricks/css/bricks.css | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/bricks/css/bricks.css b/bricks/css/bricks.css index 2b9b857..82b7e58 100755 --- a/bricks/css/bricks.css +++ b/bricks/css/bricks.css @@ -691,16 +691,15 @@ html[data-theme="dark"] { transform: rotate(90deg); } -/* 侧栏折叠图标主题感知(2026-09-18 用户要求前后色分风格): - glyph 文本隐藏,改画汉堡线 + 主题感知底色 chip—— - 亮色=浅底(#fff)+深线(--ink-1),暗色=深底(#1E293B)+浅线(--ink-0), - 顶栏恒深色下两主题都高对比;不再靠 JS 换字符 */ +/* 侧栏折叠图标(2026-09-18 用户定案):顶栏恒深色,按钮保持暗色语境—— + 底色透明(与 top 同底,不出现亮色 chip)、汉堡线恒浅色、边框无, + 切换主题风格不变(不引用任何主题变量) */ .sidebar-toggle { color: transparent !important; position: relative; - background-color: var(--surface-card) !important; + background-color: transparent !important; + border: none !important; border-radius: 6px !important; - border: 1px solid var(--line) !important; } .sidebar-toggle::before, .sidebar-toggle::after { @@ -710,8 +709,7 @@ html[data-theme="dark"] { right: 22%; height: 2px; border-radius: 1px; - background-color: var(--ink-1); - transition: background-color .2s ease; + background-color: #e2e8f0; } .sidebar-toggle::before { top: 32%; } .sidebar-toggle::after { top: 60%; }