mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-07-30 19:31:44 +08:00
update: 更新前端依赖;修改前端样式
This commit is contained in:
@@ -21,10 +21,16 @@
|
||||
--accent-foreground: oklch(20.47% 0.006 285.88);
|
||||
--destructive: oklch(57.71% 0.215 27.33);
|
||||
--destructive-foreground: oklch(98.48% 0 0);
|
||||
--success: oklch(52.7% 0.154 150.07);
|
||||
--success-foreground: oklch(98.48% 0 0);
|
||||
--warning: oklch(55.4% 0.135 66.44);
|
||||
--warning-foreground: oklch(98.48% 0 0);
|
||||
--info: oklch(54.6% 0.245 262.88);
|
||||
--info-foreground: oklch(98.48% 0 0);
|
||||
--border: oklch(91.97% 0.004 286.32);
|
||||
--input: oklch(91.97% 0.004 286.32);
|
||||
--ring: oklch(70.9% 0.015 286.07);
|
||||
--radius: 0.5rem;
|
||||
--radius: 0.625rem;
|
||||
--chart-1: oklch(57.42% 0.169 243.35);
|
||||
--chart-2: oklch(76.95% 0.149 183.61);
|
||||
--chart-3: oklch(55.75% 0.099 259.21);
|
||||
@@ -38,11 +44,10 @@
|
||||
--sidebar-accent-foreground: oklch(20.47% 0.006 285.88);
|
||||
--sidebar-border: oklch(91.97% 0.004 286.32);
|
||||
--sidebar-ring: oklch(70.9% 0.015 286.07);
|
||||
/* Keyboard button variables - light mode */
|
||||
--keyboard-button-bg: white;
|
||||
--keyboard-button-color: #1f2937;
|
||||
--keyboard-button-border: #e5e7eb;
|
||||
--keyboard-button-hover-bg: #f3f4f6;
|
||||
--keyboard-button-bg: var(--background);
|
||||
--keyboard-button-color: var(--foreground);
|
||||
--keyboard-button-border: var(--border);
|
||||
--keyboard-button-hover-bg: var(--accent);
|
||||
}
|
||||
|
||||
.dark {
|
||||
@@ -62,6 +67,12 @@
|
||||
--accent-foreground: oklch(98.48% 0 0);
|
||||
--destructive: oklch(57.71% 0.215 27.33);
|
||||
--destructive-foreground: oklch(98.48% 0 0);
|
||||
--success: oklch(72.3% 0.219 149.58);
|
||||
--success-foreground: oklch(14.08% 0.004 285.82);
|
||||
--warning: oklch(76.9% 0.188 70.08);
|
||||
--warning-foreground: oklch(14.08% 0.004 285.82);
|
||||
--info: oklch(70.7% 0.165 254.62);
|
||||
--info-foreground: oklch(14.08% 0.004 285.82);
|
||||
--border: oklch(26.98% 0.005 286.03);
|
||||
--input: oklch(26.98% 0.005 286.03);
|
||||
--ring: oklch(83.91% 0.018 227.91);
|
||||
@@ -98,6 +109,12 @@
|
||||
--color-accent-foreground: var(--accent-foreground);
|
||||
--color-destructive: var(--destructive);
|
||||
--color-destructive-foreground: var(--destructive-foreground);
|
||||
--color-success: var(--success);
|
||||
--color-success-foreground: var(--success-foreground);
|
||||
--color-warning: var(--warning);
|
||||
--color-warning-foreground: var(--warning-foreground);
|
||||
--color-info: var(--info);
|
||||
--color-info-foreground: var(--info-foreground);
|
||||
--color-border: var(--border);
|
||||
--color-input: var(--input);
|
||||
--color-ring: var(--ring);
|
||||
@@ -114,10 +131,13 @@
|
||||
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
||||
--color-sidebar-border: var(--sidebar-border);
|
||||
--color-sidebar-ring: var(--sidebar-ring);
|
||||
--radius-sm: calc(var(--radius) - 4px);
|
||||
--radius-md: calc(var(--radius) - 2px);
|
||||
--radius-sm: calc(var(--radius) * 0.6);
|
||||
--radius-md: calc(var(--radius) * 0.8);
|
||||
--radius-lg: var(--radius);
|
||||
--radius-xl: calc(var(--radius) + 4px);
|
||||
--radius-xl: calc(var(--radius) * 1.4);
|
||||
--radius-2xl: calc(var(--radius) * 1.8);
|
||||
--radius-3xl: calc(var(--radius) * 2.2);
|
||||
--radius-4xl: calc(var(--radius) * 2.6);
|
||||
}
|
||||
|
||||
/* Base styles */
|
||||
|
||||
Reference in New Issue
Block a user