151 lines
6.5 KiB
CSS
151 lines
6.5 KiB
CSS
@import 'tailwindcss';
|
|
@import 'tw-animate-css';
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
@theme {
|
|
--font-sans:
|
|
var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
|
'Segoe UI Symbol', 'Noto Color Emoji';
|
|
}
|
|
|
|
@theme inline {
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) + 4px);
|
|
--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-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);
|
|
--color-sidebar: var(--sidebar);
|
|
--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 {
|
|
--radius: 0.625rem;
|
|
--background: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--foreground: oklch(0.39 0.0215 96.47); /* black olive */
|
|
--card: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--card-foreground: oklch(0.39 0.0215 96.47); /* black olive */
|
|
--popover: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--popover-foreground: oklch(0.39 0.0215 96.47); /* black olive */
|
|
--primary: oklch(0.67 0.0763 198.81); /* verdigris */
|
|
--primary-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--secondary: oklch(0.49 0.1326 259.29); /* denim */
|
|
--secondary-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--muted: oklch(0.67 0.0763 198.81 / 20%); /* verdigris with opacity */
|
|
--muted-foreground: oklch(0.39 0.0215 96.47 / 80%); /* black olive with opacity */
|
|
--accent: oklch(0.49 0.1326 259.29); /* denim */
|
|
--accent-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--destructive: oklch(0.33 0.1316 336.24); /* palatinate */
|
|
--border: oklch(0.67 0.0763 198.81 / 30%); /* verdigris with opacity */
|
|
--input: oklch(0.67 0.0763 198.81 / 30%); /* verdigris with opacity */
|
|
--ring: oklch(0.67 0.0763 198.81); /* verdigris */
|
|
--chart-1: oklch(0.67 0.0763 198.81); /* verdigris */
|
|
--chart-2: oklch(0.49 0.1326 259.29); /* denim */
|
|
--chart-3: oklch(0.33 0.1316 336.24); /* palatinate */
|
|
--chart-4: oklch(0.39 0.0215 96.47); /* black olive */
|
|
--chart-5: oklch(0.67 0.0763 198.81 / 70%); /* verdigris with opacity */
|
|
--sidebar: oklch(0.49 0.1326 259.29 / 10%); /* denim with opacity */
|
|
--sidebar-foreground: oklch(0.39 0.0215 96.47); /* black olive */
|
|
--sidebar-primary: oklch(0.67 0.0763 198.81); /* verdigris */
|
|
--sidebar-primary-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--sidebar-accent: oklch(0.49 0.1326 259.29); /* denim */
|
|
--sidebar-accent-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--sidebar-border: oklch(0.67 0.0763 198.81 / 20%); /* verdigris with opacity */
|
|
--sidebar-ring: oklch(0.67 0.0763 198.81); /* verdigris */
|
|
}
|
|
|
|
.dark {
|
|
--background: oklch(0.39 0.0215 96.47); /* black olive */
|
|
--foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--card: oklch(0.39 0.0215 96.47 / 80%); /* black olive with opacity */
|
|
--card-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--popover: oklch(0.39 0.0215 96.47); /* black olive */
|
|
--popover-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--primary: oklch(0.67 0.0763 198.81); /* verdigris */
|
|
--primary-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--secondary: oklch(0.49 0.1326 259.29); /* denim */
|
|
--secondary-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--muted: oklch(0.39 0.0215 96.47 / 70%); /* black olive with opacity */
|
|
--muted-foreground: oklch(0.67 0.0763 198.81); /* verdigris */
|
|
--accent: oklch(0.49 0.1326 259.29); /* denim */
|
|
--accent-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--destructive: oklch(0.33 0.1316 336.24); /* palatinate */
|
|
--border: oklch(0.97 0.0228 95.96 / 20%); /* cosmic latte with opacity */
|
|
--input: oklch(0.97 0.0228 95.96 / 20%); /* cosmic latte with opacity */
|
|
--ring: oklch(0.67 0.0763 198.81); /* verdigris */
|
|
--chart-1: oklch(0.67 0.0763 198.81); /* verdigris */
|
|
--chart-2: oklch(0.49 0.1326 259.29); /* denim */
|
|
--chart-3: oklch(0.33 0.1316 336.24); /* palatinate */
|
|
--chart-4: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--chart-5: oklch(0.67 0.0763 198.81 / 70%); /* verdigris with opacity */
|
|
--sidebar: oklch(0.39 0.0215 96.47 / 90%); /* black olive with opacity */
|
|
--sidebar-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--sidebar-primary: oklch(0.67 0.0763 198.81); /* verdigris */
|
|
--sidebar-primary-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--sidebar-accent: oklch(0.49 0.1326 259.29); /* denim */
|
|
--sidebar-accent-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
|
|
--sidebar-border: oklch(0.97 0.0228 95.96 / 10%); /* cosmic latte with opacity */
|
|
--sidebar-ring: oklch(0.67 0.0763 198.81); /* verdigris */
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
h1 {
|
|
@apply scroll-m-20 text-4xl font-extrabold tracking-tight text-balance;
|
|
}
|
|
h2 {
|
|
@apply scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0;
|
|
}
|
|
h3 {
|
|
@apply scroll-m-20 text-2xl font-semibold tracking-tight;
|
|
}
|
|
h4 {
|
|
@apply scroll-m-20 text-xl font-semibold tracking-tight;
|
|
}
|
|
p {
|
|
@apply mb-2 leading-7 [&:not(:first-child)]:mt-6;
|
|
}
|
|
blockquote {
|
|
@apply mt-6 border-l-2 pl-6 italic;
|
|
}
|
|
ul {
|
|
@apply my-6 ml-6 list-disc [&>li]:mt-2;
|
|
}
|
|
code {
|
|
@apply bg-muted relative rounded px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold;
|
|
}
|
|
}
|