代码修改
This commit is contained in:
1 parent
b93b82fcaf
commit
055523bf33
28 files changed
+483
-92
No files matched your search
@@ -407,6 +407,64 @@
|
||||
--legacy-workspace-brand-rgb: 0 98 217;
|
||||
}
|
||||
|
||||
/* WeKnora 绿色主题:沿用主色 #07C05F、浅底 #E9F8EC 与深强调色 #049B38。 */
|
||||
.lightgreen {
|
||||
--workspace-brand: #07c05f;
|
||||
--workspace-brand-foreground: #ffffff;
|
||||
--brand-200: #e9f8ec;
|
||||
--brand-900: #07c05f;
|
||||
--brand-950: #049b38;
|
||||
--background: #ffffff;
|
||||
--foreground: #203329;
|
||||
--card: #ffffff;
|
||||
--card-foreground: #203329;
|
||||
--popover: #ffffff;
|
||||
--popover-foreground: #203329;
|
||||
--primary: #07c05f;
|
||||
--primary-foreground: #ffffff;
|
||||
--secondary: #f1fbf4;
|
||||
--secondary-foreground: #049b38;
|
||||
--muted: #f3f8f4;
|
||||
--muted-foreground: #64736a;
|
||||
--accent: #e9f8ec;
|
||||
--accent-foreground: #038626;
|
||||
--destructive: #f5222d;
|
||||
--border: #d8eadc;
|
||||
--input: #cfe5d4;
|
||||
--ring: rgb(7 192 95 / 0.35);
|
||||
--chart-1: #07c05f;
|
||||
--chart-2: #028f72;
|
||||
--chart-3: #4f6680;
|
||||
--chart-4: #e8a72a;
|
||||
--chart-5: #db8d16;
|
||||
--sidebar: #f9fdf9;
|
||||
--sidebar-foreground: #203329;
|
||||
--sidebar-primary: #07c05f;
|
||||
--sidebar-primary-foreground: #ffffff;
|
||||
--sidebar-accent: #e9f8ec;
|
||||
--sidebar-accent-foreground: #038626;
|
||||
--sidebar-border: #e3f0e5;
|
||||
--sidebar-ring: rgb(7 192 95 / 0.4);
|
||||
--legacy-accent-rgb: 233 248 236;
|
||||
--legacy-background-rgb: 255 255 255;
|
||||
--legacy-border-rgb: 216 234 220;
|
||||
--legacy-brand-200-rgb: 233 248 236;
|
||||
--legacy-card-rgb: 255 255 255;
|
||||
--legacy-destructive-rgb: 245 34 45;
|
||||
--legacy-foreground-rgb: 32 51 41;
|
||||
--legacy-input-rgb: 207 229 212;
|
||||
--legacy-muted-rgb: 243 248 244;
|
||||
--legacy-muted-foreground-rgb: 100 115 106;
|
||||
--legacy-primary-rgb: 7 192 95;
|
||||
--legacy-primary-foreground-rgb: 255 255 255;
|
||||
--legacy-ring-rgb: 7 192 95;
|
||||
--legacy-secondary-rgb: 241 251 244;
|
||||
--legacy-sidebar-accent-rgb: 233 248 236;
|
||||
--legacy-sidebar-border-rgb: 227 240 229;
|
||||
--legacy-sidebar-foreground-rgb: 32 51 41;
|
||||
--legacy-workspace-brand-rgb: 7 192 95;
|
||||
}
|
||||
|
||||
@layer base {
|
||||
* {
|
||||
@apply border-border outline-ring/50;
|
||||
@@ -1248,6 +1306,43 @@ html.lightblue .tiptap-writing-editor .ProseMirror ::selection {
|
||||
background: color-mix(in srgb, #55a6fe 35%, transparent);
|
||||
}
|
||||
|
||||
html.lightgreen .strategy-app-header {
|
||||
background-color: #07c05f;
|
||||
background-image: linear-gradient(105deg, #049b38 0%, #07c05f 48%, #08dd6e 100%);
|
||||
}
|
||||
|
||||
html.lightgreen *::-webkit-scrollbar-thumb {
|
||||
background: linear-gradient(180deg, rgb(9 244 121 / 0.8), rgb(7 192 95 / 0.92))
|
||||
padding-box;
|
||||
}
|
||||
|
||||
html.lightgreen .workspace-panel {
|
||||
border: 1px solid #d8eadc;
|
||||
box-shadow:
|
||||
0 32px 72px -46px rgb(26 112 68 / 0.3),
|
||||
0 12px 28px -22px rgb(7 192 95 / 0.2);
|
||||
}
|
||||
|
||||
html.lightgreen .workspace-user-bubble {
|
||||
border: 1px solid rgb(255 255 255 / 0.14);
|
||||
background: linear-gradient(135deg, #09f479 0%, #07c05f 58%, #049b38 100%);
|
||||
box-shadow:
|
||||
0 22px 40px -28px rgb(7 192 95 / 0.52),
|
||||
0 10px 20px -16px rgb(4 155 56 / 0.38);
|
||||
}
|
||||
|
||||
html.lightgreen .workspace-assistant-card {
|
||||
border: 1px solid #dceee0;
|
||||
}
|
||||
|
||||
html.lightgreen .workspace-assistant-card::before {
|
||||
background: linear-gradient(180deg, rgb(9 244 121 / 0.68), rgb(7 192 95 / 0.12));
|
||||
}
|
||||
|
||||
html.lightgreen .tiptap-writing-editor .ProseMirror ::selection {
|
||||
background: color-mix(in srgb, #07c05f 35%, transparent);
|
||||
}
|
||||
|
||||
/* ── 来源上传弹窗:A系统基因库的分段单选条(custom-radio) ─────────────── */
|
||||
/* 外层容器,模拟 nz-radio-group */
|
||||
.custom-radio-group {
|
||||
@@ -1323,6 +1418,12 @@ html.lightblue .tiptap-writing-editor .ProseMirror ::selection {
|
||||
box-shadow: inset 0 0 0 1px rgba(0, 98, 217, 0.16);
|
||||
}
|
||||
|
||||
.lightgreen .agent-avatar {
|
||||
background-color: #e9f8ec;
|
||||
color: #049b38;
|
||||
box-shadow: inset 0 0 0 1px rgb(7 192 95 / 0.16);
|
||||
}
|
||||
|
||||
.agent-sidebar-card--active {
|
||||
background-color: #feeded;
|
||||
border-color: rgba(190, 35, 35, 0.5);
|
||||
@@ -1338,6 +1439,11 @@ html.lightblue .tiptap-writing-editor .ProseMirror ::selection {
|
||||
border-color: rgba(0, 98, 217, 0.5);
|
||||
}
|
||||
|
||||
.lightgreen .agent-sidebar-card--active {
|
||||
background-color: #e9f8ec;
|
||||
border-color: rgb(7 192 95 / 0.5);
|
||||
}
|
||||
|
||||
@supports not (color: oklch(1 0 0)) {
|
||||
.bg-primary\/5 { background-color: rgba(190, 35, 35, 0.05); }
|
||||
.bg-primary\/8 { background-color: rgba(190, 35, 35, 0.08); }
|
||||
@@ -1388,4 +1494,16 @@ html.lightblue .tiptap-writing-editor .ProseMirror ::selection {
|
||||
.lightblue .bg-primary\/60 { background-color: rgba(0, 98, 217, 0.60); }
|
||||
.lightblue .bg-primary\/70 { background-color: rgba(0, 98, 217, 0.70); }
|
||||
.lightblue .bg-primary\/90 { background-color: rgba(0, 98, 217, 0.90); }
|
||||
|
||||
.lightgreen .bg-primary\/5 { background-color: rgba(7, 192, 95, 0.05); }
|
||||
.lightgreen .bg-primary\/8 { background-color: rgba(7, 192, 95, 0.08); }
|
||||
.lightgreen .bg-primary\/10 { background-color: rgba(7, 192, 95, 0.10); }
|
||||
.lightgreen .bg-primary\/14 { background-color: rgba(7, 192, 95, 0.14); }
|
||||
.lightgreen .bg-primary\/15 { background-color: rgba(7, 192, 95, 0.15); }
|
||||
.lightgreen .bg-primary\/20 { background-color: rgba(7, 192, 95, 0.20); }
|
||||
.lightgreen .bg-primary\/25 { background-color: rgba(7, 192, 95, 0.25); }
|
||||
.lightgreen .bg-primary\/30 { background-color: rgba(7, 192, 95, 0.30); }
|
||||
.lightgreen .bg-primary\/60 { background-color: rgba(7, 192, 95, 0.60); }
|
||||
.lightgreen .bg-primary\/70 { background-color: rgba(7, 192, 95, 0.70); }
|
||||
.lightgreen .bg-primary\/90 { background-color: rgba(7, 192, 95, 0.90); }
|
||||
}
|
||||
Reference in new issue
Block a user