Files
meetnote/web/app/globals.css
2026-04-13 19:00:17 +08:00

136 lines
4.1 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@import 'tailwindcss';
@import 'tw-animate-css';
@custom-variant dark (&:is(.dark *));
:root {
/* Surface 层级(沿用 BrandKit */
--background: oklch(0.985 0.005 260);
--surface: oklch(0.985 0.005 260);
--surface-elevated: oklch(1 0 0);
--surface-muted: oklch(0.96 0.01 260);
--foreground: oklch(0.15 0.02 260);
--card: oklch(1 0 0);
--card-foreground: oklch(0.15 0.02 260);
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.15 0.02 260);
/* 主色 - 蓝紫中性(候选 A */
--primary: oklch(0.58 0.18 275);
--primary-foreground: oklch(0.98 0 0);
--primary-light: oklch(0.68 0.15 275);
--primary-subtle: oklch(0.96 0.03 275);
--secondary: oklch(0.96 0.01 260);
--secondary-foreground: oklch(0.13 0.02 260);
--muted: oklch(0.94 0.01 260);
--muted-foreground: oklch(0.50 0.02 260);
--accent: oklch(0.58 0.18 275);
--accent-foreground: oklch(0.98 0 0);
/* 状态色 */
--success: oklch(0.65 0.16 155);
--warning: oklch(0.72 0.15 75);
--danger: oklch(0.60 0.22 25);
--info: oklch(0.65 0.12 230);
--destructive: oklch(0.60 0.22 25);
--destructive-foreground: oklch(0.985 0 0);
--border: oklch(0.92 0.01 260);
--border-strong: oklch(0.86 0.01 260);
--input: oklch(0.92 0.01 260);
--ring: oklch(0.58 0.18 275);
--chart-1: oklch(0.58 0.18 275);
--chart-2: oklch(0.70 0.18 260);
--chart-3: oklch(0.55 0.14 200);
--chart-4: oklch(0.65 0.20 30);
--chart-5: oklch(0.50 0.15 160);
--radius: 1rem;
}
.dark {
--background: oklch(0.14 0.01 260);
--surface: oklch(0.14 0.01 260);
--surface-elevated: oklch(0.18 0.01 260);
--surface-muted: oklch(0.22 0.01 260);
--foreground: oklch(0.95 0.005 260);
--card: oklch(0.18 0.01 260);
--card-foreground: oklch(0.95 0.005 260);
--popover: oklch(0.18 0.01 260);
--popover-foreground: oklch(0.95 0.005 260);
--primary: oklch(0.70 0.18 275);
--primary-foreground: oklch(0.14 0.01 260);
--muted: oklch(0.22 0.01 260);
--muted-foreground: oklch(0.65 0.01 260);
--border: oklch(0.28 0.01 260);
--border-strong: oklch(0.36 0.01 260);
--input: oklch(0.28 0.01 260);
--ring: oklch(0.70 0.18 275);
}
@theme inline {
--font-sans: var(--font-inter), 'Noto Sans SC', system-ui, sans-serif;
--font-mono: 'Geist Mono', 'Sarasa Mono SC', ui-monospace, monospace;
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-destructive: var(--destructive);
--color-destructive-foreground: var(--destructive-foreground);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--color-chart-1: var(--chart-1);
--color-chart-2: var(--chart-2);
--color-chart-3: var(--chart-3);
--color-chart-4: var(--chart-4);
--color-chart-5: var(--chart-5);
--radius-sm: calc(var(--radius) - 6px);
--radius-md: calc(var(--radius) - 4px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 6px);
--color-success: var(--success);
--color-warning: var(--warning);
--color-danger: var(--danger);
--color-info: var(--info);
--color-surface: var(--surface);
--color-surface-elevated: var(--surface-elevated);
--color-surface-muted: var(--surface-muted);
--color-primary-light: var(--primary-light);
--color-primary-subtle: var(--primary-subtle);
--color-border-strong: var(--border-strong);
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground font-sans antialiased;
}
}
@layer utilities {
.scrollbar-hide {
-ms-overflow-style: none;
scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
display: none;
}
}