refactor: use shadcn sidebar

This commit is contained in:
tao.chen
2026-09-02 10:10:41 +08:00
committed by tao.chen
parent fd724a1b45
commit 1c220490cf
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";