feat: 增加角色管理与奖池配置迁移,优化管理端权限与样式

This commit is contained in:
2026-05-19 14:40:04 +08:00
parent d625c59393
commit a1fb163f1b
45 changed files with 1080 additions and 518 deletions

View File

@@ -49,72 +49,72 @@
}
:root {
--background: oklch(1 0 0);
--foreground: oklch(0.145 0 0);
--background: #f7fbff;
--foreground: #0f1f3d;
--card: oklch(1 0 0);
--card-foreground: oklch(0.145 0 0);
--card-foreground: #0f1f3d;
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.145 0 0);
--primary: oklch(0.205 0 0);
--primary-foreground: oklch(0.985 0 0);
--secondary: oklch(0.97 0 0);
--secondary-foreground: oklch(0.205 0 0);
--muted: oklch(0.97 0 0);
--muted-foreground: oklch(0.556 0 0);
--accent: oklch(0.97 0 0);
--accent-foreground: oklch(0.205 0 0);
--popover-foreground: #0f1f3d;
--primary: #0b55c4;
--primary-foreground: #ffffff;
--secondary: #eef5ff;
--secondary-foreground: #10336e;
--muted: #f2f7ff;
--muted-foreground: #64748b;
--accent: #e8f1ff;
--accent-foreground: #0b55c4;
--destructive: oklch(0.577 0.245 27.325);
--border: oklch(0.922 0 0);
--input: oklch(0.922 0 0);
--ring: oklch(0.708 0 0);
--border: #d8e6fb;
--input: #d8e6fb;
--ring: #7aa7ee;
--chart-1: oklch(0.87 0 0);
--chart-2: oklch(0.556 0 0);
--chart-3: oklch(0.439 0 0);
--chart-4: oklch(0.371 0 0);
--chart-5: oklch(0.269 0 0);
--radius: 0.625rem;
--sidebar: oklch(0.985 0 0);
--sidebar-foreground: oklch(0.145 0 0);
--sidebar-primary: oklch(0.205 0 0);
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.97 0 0);
--sidebar-accent-foreground: oklch(0.205 0 0);
--sidebar-border: oklch(0.922 0 0);
--sidebar-ring: oklch(0.708 0 0);
--sidebar: #01266c;
--sidebar-foreground: #f8fbff;
--sidebar-primary: #e60012;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: rgb(255 255 255 / 12%);
--sidebar-accent-foreground: #ffffff;
--sidebar-border: rgb(255 255 255 / 14%);
--sidebar-ring: rgb(255 255 255 / 36%);
}
.dark {
--background: oklch(0.145 0 0);
--background: #081426;
--foreground: oklch(0.985 0 0);
--card: oklch(0.205 0 0);
--card-foreground: oklch(0.985 0 0);
--popover: oklch(0.205 0 0);
--popover-foreground: oklch(0.985 0 0);
--primary: oklch(0.922 0 0);
--primary-foreground: oklch(0.205 0 0);
--secondary: oklch(0.269 0 0);
--primary: #77a7ff;
--primary-foreground: #061328;
--secondary: #10233f;
--secondary-foreground: oklch(0.985 0 0);
--muted: oklch(0.269 0 0);
--muted-foreground: oklch(0.708 0 0);
--accent: oklch(0.269 0 0);
--accent: #102a50;
--accent-foreground: oklch(0.985 0 0);
--destructive: oklch(0.704 0.191 22.216);
--border: oklch(1 0 0 / 10%);
--input: oklch(1 0 0 / 15%);
--ring: oklch(0.556 0 0);
--border: rgb(148 180 220 / 24%);
--input: rgb(148 180 220 / 28%);
--ring: #77a7ff;
--chart-1: oklch(0.87 0 0);
--chart-2: oklch(0.556 0 0);
--chart-3: oklch(0.439 0 0);
--chart-4: oklch(0.371 0 0);
--chart-5: oklch(0.269 0 0);
--sidebar: oklch(0.205 0 0);
--sidebar-foreground: oklch(0.985 0 0);
--sidebar-primary: oklch(0.488 0.243 264.376);
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.269 0 0);
--sidebar-accent-foreground: oklch(0.985 0 0);
--sidebar-border: oklch(1 0 0 / 10%);
--sidebar-ring: oklch(0.556 0 0);
--sidebar: #01266c;
--sidebar-foreground: #f8fbff;
--sidebar-primary: #e60012;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: rgb(255 255 255 / 12%);
--sidebar-accent-foreground: #ffffff;
--sidebar-border: rgb(255 255 255 / 14%);
--sidebar-ring: rgb(255 255 255 / 36%);
}
@layer base {
@@ -127,4 +127,4 @@
html {
@apply font-sans;
}
}
}