158 lines
5.6 KiB
CSS
158 lines
5.6 KiB
CSS
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
:root {
|
|
/* Deep earthy palette with rich browns, forest greens, and organic tones */
|
|
--background: oklch(0.97 0.015 75);
|
|
--foreground: oklch(0.22 0.025 65);
|
|
--card: oklch(0.98 0.01 80);
|
|
--card-foreground: oklch(0.22 0.025 65);
|
|
--popover: oklch(0.98 0.01 80);
|
|
--popover-foreground: oklch(0.22 0.025 65);
|
|
--primary: oklch(0.38 0.06 135);
|
|
--primary-foreground: oklch(0.98 0.01 80);
|
|
--secondary: oklch(0.42 0.08 55);
|
|
--secondary-foreground: oklch(0.98 0.01 80);
|
|
--muted: oklch(0.88 0.02 75);
|
|
--muted-foreground: oklch(0.48 0.03 65);
|
|
--accent: oklch(0.52 0.1 145);
|
|
--accent-foreground: oklch(0.98 0.01 80);
|
|
--destructive: oklch(0.577 0.245 27.325);
|
|
--destructive-foreground: oklch(0.98 0.01 80);
|
|
--border: oklch(0.82 0.02 75);
|
|
--input: oklch(0.82 0.02 75);
|
|
--ring: oklch(0.38 0.06 135);
|
|
--chart-1: oklch(0.38 0.06 135);
|
|
--chart-2: oklch(0.42 0.08 55);
|
|
--chart-3: oklch(0.52 0.1 145);
|
|
--chart-4: oklch(0.32 0.05 125);
|
|
--chart-5: oklch(0.58 0.08 150);
|
|
--radius: 0.75rem;
|
|
--sidebar: oklch(0.98 0.01 80);
|
|
--sidebar-foreground: oklch(0.22 0.025 65);
|
|
--sidebar-primary: oklch(0.38 0.06 135);
|
|
--sidebar-primary-foreground: oklch(0.98 0.01 80);
|
|
--sidebar-accent: oklch(0.88 0.02 75);
|
|
--sidebar-accent-foreground: oklch(0.22 0.025 65);
|
|
--sidebar-border: oklch(0.82 0.02 75);
|
|
--sidebar-ring: oklch(0.38 0.06 135);
|
|
}
|
|
|
|
.dark {
|
|
/* Dark mode with deep soil and forest tones */
|
|
--background: oklch(0.15 0.02 65);
|
|
--foreground: oklch(0.94 0.01 80);
|
|
--card: oklch(0.18 0.025 65);
|
|
--card-foreground: oklch(0.94 0.01 80);
|
|
--popover: oklch(0.15 0.02 65);
|
|
--popover-foreground: oklch(0.94 0.01 80);
|
|
--primary: oklch(0.52 0.1 135);
|
|
--primary-foreground: oklch(0.15 0.02 65);
|
|
--secondary: oklch(0.48 0.09 55);
|
|
--secondary-foreground: oklch(0.15 0.02 65);
|
|
--muted: oklch(0.25 0.025 65);
|
|
--muted-foreground: oklch(0.62 0.03 75);
|
|
--accent: oklch(0.58 0.12 145);
|
|
--accent-foreground: oklch(0.15 0.02 65);
|
|
--destructive: oklch(0.396 0.141 25.723);
|
|
--destructive-foreground: oklch(0.94 0.01 80);
|
|
--border: oklch(0.25 0.025 65);
|
|
--input: oklch(0.25 0.025 65);
|
|
--ring: oklch(0.52 0.1 135);
|
|
--chart-1: oklch(0.52 0.1 135);
|
|
--chart-2: oklch(0.48 0.09 55);
|
|
--chart-3: oklch(0.58 0.12 145);
|
|
--chart-4: oklch(0.42 0.07 125);
|
|
--chart-5: oklch(0.62 0.1 150);
|
|
--sidebar: oklch(0.18 0.025 65);
|
|
--sidebar-foreground: oklch(0.94 0.01 80);
|
|
--sidebar-primary: oklch(0.52 0.1 135);
|
|
--sidebar-primary-foreground: oklch(0.15 0.02 65);
|
|
--sidebar-accent: oklch(0.25 0.025 65);
|
|
--sidebar-accent-foreground: oklch(0.94 0.01 80);
|
|
--sidebar-border: oklch(0.25 0.025 65);
|
|
--sidebar-ring: oklch(0.52 0.1 135);
|
|
}
|
|
|
|
@theme inline {
|
|
/* Updated font variables for stylized, organic typography */
|
|
--font-display: "Playfair Display", "Playfair Display Fallback", serif;
|
|
--font-body: "Crimson Text", "Crimson Text Fallback", serif;
|
|
--font-serif: "Libre Baskerville", "Libre Baskerville Fallback", serif;
|
|
--font-sans: var(--font-body);
|
|
--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) - 4px);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) + 4px);
|
|
--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);
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
}
|
|
|
|
/* Adding mycelial network pattern overlay */
|
|
@layer utilities {
|
|
.mycelial-pattern {
|
|
position: relative;
|
|
}
|
|
|
|
.mycelial-pattern::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background-image: radial-gradient(circle at 20% 30%, oklch(0.38 0.06 135 / 0.03) 0%, transparent 50%),
|
|
radial-gradient(circle at 80% 70%, oklch(0.42 0.08 55 / 0.03) 0%, transparent 50%),
|
|
radial-gradient(circle at 40% 80%, oklch(0.52 0.1 145 / 0.02) 0%, transparent 50%),
|
|
radial-gradient(circle at 70% 20%, oklch(0.38 0.06 135 / 0.02) 0%, transparent 50%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.organic-texture {
|
|
background-image: repeating-linear-gradient(
|
|
90deg,
|
|
oklch(0.38 0.06 135 / 0.02) 0px,
|
|
transparent 1px,
|
|
transparent 40px
|
|
), repeating-linear-gradient(0deg, oklch(0.42 0.08 55 / 0.02) 0px, transparent 1px, transparent 40px);
|
|
}
|
|
}
|