From e026c0570ab96bb796f2bdd4bb21aff9bd7892cf Mon Sep 17 00:00:00 2001 From: sikongyue <3155157671@qq.com> Date: Thu, 20 Aug 2026 00:36:57 +0800 Subject: [PATCH] =?UTF-8?q?refactor(web):=20=E5=B7=A5=E4=BD=9C=E5=8C=BA?= =?UTF-8?q?=E5=B8=83=E5=B1=80=20-=20=E5=8D=A1=E7=89=87=E9=97=B4=E9=97=B4?= =?UTF-8?q?=E9=9A=99=E8=B0=83=E5=B0=8F=E8=87=B3=204px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 --workspace-card-gap 组件 token(4px),main-row gap 由 shell-gutter(6px)改引新 token,侧边栏与主区卡片间隙调小;外壳四周留白保持 6px --- web/src/styles/globals.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/styles/globals.css b/web/src/styles/globals.css index e94a31517..457ff71b3 100644 --- a/web/src/styles/globals.css +++ b/web/src/styles/globals.css @@ -408,6 +408,8 @@ --workspace-shell-gutter: 6px; /* 工作区外壳画布留白与卡片间隙(组件 token)*/ + --workspace-card-gap: 4px; /* 侧边栏与主区卡片之间间隙(组件 token)*/ + /* --- Semantic 层(引用 Primitive,随主题切换)--- */ /* 通用语义色(引用 Primitive neutral 色板)*/ --bg: var(--color-neutral-0); @@ -1341,7 +1343,7 @@ .app-workspace-main-row { display: flex; - gap: var(--workspace-shell-gutter); + gap: var(--workspace-card-gap); min-height: 0; min-width: 0; flex: 1 1 auto;