feat(ui): 浅蓝主题、外观设置与圆桌看板主题适配,优化工作区布局
新增 lightblue 主题与外观设置联动,圆桌 Step3 看板/report 统一配色;工作区侧边栏、输入框与轻应用 iframe 主题参数同步更新。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
30d4f9667b
commit
c702119e66
39 files changed
+2562
-1441
No files matched your search
@@ -317,6 +317,49 @@
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
/* 浅蓝色主题 —— 详见 docs/ui规范-浅蓝/浅蓝色ui规范.md。
|
||||
第三套主题,由 next-themes 在 <html> 加 `.lightblue` 类触发。
|
||||
只覆盖颜色 token(圆角/间距沿用 :root),实现整站换肤;
|
||||
主色 #0062D9(ZS-002 深色基准),浅底 #EAF4FF,正文 #3D3D3D。 */
|
||||
.lightblue {
|
||||
--workspace-brand: #0062d9;
|
||||
--workspace-brand-foreground: #ffffff;
|
||||
--brand-200: #eaf4ff;
|
||||
--brand-900: #0062d9;
|
||||
--brand-950: #004ab3;
|
||||
--background: #ffffff;
|
||||
--foreground: #3d3d3d;
|
||||
--card: #ffffff;
|
||||
--card-foreground: #3d3d3d;
|
||||
--popover: #ffffff;
|
||||
--popover-foreground: #3d3d3d;
|
||||
--primary: #0062d9;
|
||||
--primary-foreground: #ffffff;
|
||||
--secondary: #f4f9ff;
|
||||
--secondary-foreground: #0056c6;
|
||||
--muted: #f3f5f8;
|
||||
--muted-foreground: #7f7f7f;
|
||||
--accent: #eaf4ff;
|
||||
--accent-foreground: #0062d9;
|
||||
--destructive: #f5222d;
|
||||
--border: #dbdbdb;
|
||||
--input: #dbdbdb;
|
||||
--ring: rgb(0 98 217 / 0.35);
|
||||
--chart-1: #0062d9;
|
||||
--chart-2: #1eb07f;
|
||||
--chart-3: #ff9900;
|
||||
--chart-4: #2f9acc;
|
||||
--chart-5: #f5222d;
|
||||
--sidebar: #f9fcff;
|
||||
--sidebar-foreground: #3d3d3d;
|
||||
--sidebar-primary: #0062d9;
|
||||
--sidebar-primary-foreground: #ffffff;
|
||||
--sidebar-accent: #eaf4ff;
|
||||
--sidebar-accent-foreground: #0056c6;
|
||||
--sidebar-border: #e6ebf2;
|
||||
--sidebar-ring: rgb(0 98 217 / 0.4);
|
||||
}
|
||||
|
||||
@layer base {
|
||||
* {
|
||||
@apply border-border outline-ring/50;
|
||||
@@ -883,3 +926,40 @@ body {
|
||||
html.dark .strategy-app-header {
|
||||
background-image: url("../assets/img/dark-blue-header.svg");
|
||||
}
|
||||
|
||||
/* ── 浅蓝主题:覆盖散落在各处的红色硬编码(CSS 变量管不到的地方)────────── */
|
||||
html.lightblue .strategy-app-header {
|
||||
background-image: url("../assets/img/blue-header.png");
|
||||
}
|
||||
|
||||
html.lightblue *::-webkit-scrollbar-thumb {
|
||||
background: linear-gradient(180deg, rgb(85 166 254 / 0.82), rgb(0 98 217 / 0.9))
|
||||
padding-box;
|
||||
}
|
||||
|
||||
html.lightblue .workspace-panel {
|
||||
border: 1px solid #d6e4f5;
|
||||
box-shadow:
|
||||
0 32px 72px -46px rgb(42 70 110 / 0.35),
|
||||
0 12px 28px -22px rgb(75 120 180 / 0.24);
|
||||
}
|
||||
|
||||
html.lightblue .workspace-user-bubble {
|
||||
border: 1px solid rgb(255 255 255 / 0.14);
|
||||
background: linear-gradient(135deg, #55a6fe 0%, #0079fe 58%, #0062d9 100%);
|
||||
box-shadow:
|
||||
0 22px 40px -28px rgb(0 98 217 / 0.55),
|
||||
0 10px 20px -16px rgb(0 54 140 / 0.42);
|
||||
}
|
||||
|
||||
html.lightblue .workspace-assistant-card {
|
||||
border: 1px solid #d9e6f5;
|
||||
}
|
||||
|
||||
html.lightblue .workspace-assistant-card::before {
|
||||
background: linear-gradient(180deg, rgb(85 166 254 / 0.92), rgb(0 121 254 / 0.15));
|
||||
}
|
||||
|
||||
html.lightblue .tiptap-writing-editor .ProseMirror ::selection {
|
||||
background: color-mix(in srgb, #55a6fe 35%, transparent);
|
||||
}
|
||||
Reference in new issue
Block a user