This repository has been archived on 2026-09-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
KSnippets/snippets-frontend/app/globals.css
T
2026-08-27 20:13:42 +08:00

46 lines
1.5 KiB
CSS

@import 'tailwindcss';
@import 'tw-animate-css';
@import 'shadcn/tailwind.css';
@custom-variant dark (&:is(.dark *));
@theme inline {
--font-sans: 'Geist', 'Geist Fallback';
--font-mono: 'Geist Mono', 'Geist Mono Fallback';
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-border: var(--border);
--color-destructive: var(--destructive);
--color-brand: var(--brand);
--color-editor: var(--editor);
--radius-lg: 0.75rem;
}
:root {
color-scheme: light;
--background: oklch(0.975 0.008 90);
--foreground: oklch(0.19 0.025 250);
--card: oklch(1 0 0);
--primary: oklch(0.22 0.035 250);
--primary-foreground: oklch(0.98 0.008 90);
--muted: oklch(0.94 0.012 90);
--muted-foreground: oklch(0.49 0.025 250);
--border: oklch(0.88 0.018 90);
--destructive: oklch(0.58 0.19 25);
--brand: oklch(0.68 0.14 153);
--editor: oklch(0.17 0.025 250);
}
* { @apply border-border; }
html { background: var(--background); }
body { @apply bg-background text-foreground font-sans antialiased; }
button, a, input { transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, opacity 160ms ease; }
.snippet-codemirror .cm-editor { font-family: var(--font-geist-mono), ui-monospace, monospace; }
.snippet-codemirror .cm-scroller { padding: 12px 0; }