页面布局调整

This commit is contained in:
fengxiangdebaozi committed 2026-05-14 16:01:25 +08:00
1 parent 139dfb76e4
commit e6ad3c414f
7 files changed
+157 -62

No files matched your search

+35 -27
View File
@@ -243,7 +243,7 @@
--workspace-brand: #d92121;
--workspace-brand-foreground: #ffffff;
--radius: 0.75rem;
--background: oklch(0.985 0.004 95);
--background: oklch(1 0 0);
--foreground: oklch(0.22 0.02 25);
--card: oklch(1 0.002 95);
--card-foreground: oklch(0.22 0.02 25);
@@ -277,39 +277,39 @@
}
.dark {
--workspace-brand: #e11d1d;
--workspace-brand: #3b82f6;
--workspace-brand-foreground: #ffffff;
--background: oklch(0.22 0.015 25);
--foreground: oklch(0.96 0.01 95);
--card: oklch(0.26 0.018 25);
--card-foreground: oklch(0.96 0.01 95);
--popover: oklch(0.24 0.018 25);
--popover-foreground: oklch(0.96 0.01 95);
--primary: oklch(0.62 0.17 27);
--primary-foreground: oklch(0.12 0.02 25);
--secondary: oklch(0.32 0.02 25);
--secondary-foreground: oklch(0.96 0.01 95);
--muted: oklch(0.3 0.02 25);
--muted-foreground: oklch(0.72 0.02 95);
--accent: oklch(0.34 0.06 25);
--accent-foreground: oklch(0.96 0.01 95);
--background: oklch(0.208 0.042 264);
--foreground: oklch(0.96 0.005 240);
--card: oklch(0.265 0.04 260);
--card-foreground: oklch(0.96 0.005 240);
--popover: oklch(0.245 0.04 262);
--popover-foreground: oklch(0.96 0.005 240);
--primary: oklch(0.623 0.214 259);
--primary-foreground: oklch(0.99 0 0);
--secondary: oklch(0.32 0.038 260);
--secondary-foreground: oklch(0.96 0.005 240);
--muted: oklch(0.30 0.035 260);
--muted-foreground: oklch(0.68 0.02 240);
--accent: oklch(0.35 0.06 260);
--accent-foreground: oklch(0.96 0.005 240);
--destructive: oklch(0.704 0.191 22.216);
--border: oklch(1 0 0 / 12%);
--input: oklch(1 0 0 / 14%);
--ring: oklch(0.62 0.17 27 / 0.45);
--ring: oklch(0.623 0.214 259 / 0.45);
--chart-1: oklch(0.488 0.243 264.376);
--chart-2: oklch(0.696 0.17 162.48);
--chart-3: oklch(0.769 0.188 70.08);
--chart-4: oklch(0.627 0.265 303.9);
--chart-5: oklch(0.645 0.246 16.439);
--sidebar: oklch(0.2 0.02 25);
--sidebar-foreground: oklch(0.94 0.01 95);
--sidebar-primary: oklch(0.62 0.17 27);
--sidebar: oklch(0.185 0.04 265);
--sidebar-foreground: oklch(0.94 0.005 240);
--sidebar-primary: oklch(0.623 0.214 259);
--sidebar-primary-foreground: oklch(0.99 0 0);
--sidebar-accent: oklch(0.3 0.05 25);
--sidebar-accent-foreground: oklch(0.96 0.01 95);
--sidebar-accent: oklch(0.30 0.055 260);
--sidebar-accent-foreground: oklch(0.96 0.005 240);
--sidebar-border: oklch(1 0 0 / 10%);
--sidebar-ring: oklch(0.62 0.17 27 / 0.45);
--sidebar-ring: oklch(0.623 0.214 259 / 0.45);
font-weight: 300;
}
@@ -430,19 +430,27 @@
}
.workspace-shell {
background:
radial-gradient(circle at top right, rgb(255 214 214 / 0.72), transparent 18%),
linear-gradient(180deg, #fbf7f4 0%, #f6efea 100%);
background: #ffffff;
}
.dark .workspace-shell {
background: var(--background);
}
.workspace-panel {
border: 1px solid #f0d7d0;
background: linear-gradient(180deg, rgb(255 253 251 / 0.98), rgb(255 247 244 / 0.98));
background: #ffffff;
box-shadow:
0 32px 72px -46px rgb(98 63 42 / 0.35),
0 12px 28px -22px rgb(170 91 75 / 0.24);
}
.dark .workspace-panel {
border: 1px solid oklch(1 0 0 / 10%);
background: var(--card);
box-shadow: none;
}
.workspace-user-bubble {
max-width: min(82%, 42rem);
border: 1px solid rgb(255 255 255 / 0.14);