refactor: use shadcn sidebar

This commit is contained in:
tao.chen
2026-08-25 20:20:14 +08:00
parent 9294c7fd9f
commit e186e5e541
10 changed files with 245 additions and 205 deletions
+22
View File
@@ -30,6 +30,28 @@
--color-bg-canvas: #f9fbfd;
--color-bg-log: #17212b;
}
@theme inline {
--color-sidebar: var(--sidebar-background);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar-primary: var(--sidebar-primary);
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
--color-sidebar-accent: var(--sidebar-accent);
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-ring: var(--sidebar-ring);
}
:root {
--sidebar-background: #09233f;
--sidebar-foreground: #c9d7e7;
--sidebar-primary: #1479e8;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: rgba(255, 255, 255, 0.06);
--sidebar-accent-foreground: #ffffff;
--sidebar-border: rgba(255, 255, 255, 0.08);
--sidebar-ring: #5ca9ff;
}
@font-face {
font-family: "Inter";