228 lines
7.7 KiB
CSS
228 lines
7.7 KiB
CSS
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
@import "shadcn/tailwind.css";
|
|
@import "@fontsource-variable/geist";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
@theme inline {
|
|
--font-heading: var(--font-sans);
|
|
--font-sans: "Geist Variable", sans-serif;
|
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
--color-sidebar-border: var(--sidebar-border);
|
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
--color-sidebar: var(--sidebar);
|
|
--color-chart-5: var(--chart-5);
|
|
--color-chart-4: var(--chart-4);
|
|
--color-chart-3: var(--chart-3);
|
|
--color-chart-2: var(--chart-2);
|
|
--color-chart-1: var(--chart-1);
|
|
--color-ring: var(--ring);
|
|
--color-input: var(--input);
|
|
--color-border: var(--border);
|
|
--color-destructive: var(--destructive);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-card: var(--card);
|
|
--color-foreground: var(--foreground);
|
|
--color-background: var(--background);
|
|
--radius-sm: calc(var(--radius) * 0.6);
|
|
--radius-md: calc(var(--radius) * 0.8);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) * 1.2);
|
|
--radius-2xl: calc(var(--radius) * 1.5);
|
|
--radius-3xl: calc(var(--radius) * 1.8);
|
|
--radius-4xl: calc(var(--radius) * 2.1);
|
|
}
|
|
|
|
:root {
|
|
/* Base colors (retaining the shadcn structure, but with a sports-club identity) */
|
|
--background: oklch(0.94 0.01 145);
|
|
--foreground: oklch(0.16 0.02 145);
|
|
--card: oklch(0.995 0.005 145);
|
|
--card-foreground: oklch(0.16 0.02 145);
|
|
--popover: oklch(0.995 0.005 145);
|
|
--popover-foreground: oklch(0.16 0.02 145);
|
|
--primary: oklch(0.42 0.11 145);
|
|
--primary-foreground: oklch(0.985 0.01 145);
|
|
--secondary: oklch(0.95 0.015 145);
|
|
--secondary-foreground: oklch(0.24 0.02 145);
|
|
--muted: oklch(0.95 0.01 145);
|
|
--muted-foreground: oklch(0.49 0.02 145);
|
|
--accent: oklch(0.93 0.05 82);
|
|
--accent-foreground: oklch(0.28 0.05 82);
|
|
--destructive: oklch(0.58 0.22 27);
|
|
--border: oklch(0.9 0.01 145);
|
|
--input: oklch(0.89 0.01 145);
|
|
--ring: oklch(0.55 0.12 145);
|
|
--chart-1: oklch(0.87 0 0);
|
|
--chart-2: oklch(0.556 0 0);
|
|
--chart-3: oklch(0.439 0 0);
|
|
--chart-4: oklch(0.371 0 0);
|
|
--chart-5: oklch(0.269 0 0);
|
|
--radius: 0.5rem;
|
|
--sidebar: oklch(0.99 0.005 145);
|
|
--sidebar-foreground: oklch(0.16 0.02 145);
|
|
--sidebar-primary: oklch(0.42 0.11 145);
|
|
--sidebar-primary-foreground: oklch(0.985 0.01 145);
|
|
--sidebar-accent: oklch(0.93 0.05 82);
|
|
--sidebar-accent-foreground: oklch(0.28 0.05 82);
|
|
--sidebar-border: oklch(0.9 0.01 145);
|
|
--sidebar-ring: oklch(0.55 0.12 145);
|
|
|
|
/* Surface elevation (light mode: higher = lighter) */
|
|
--surface-base: oklch(1 0 0);
|
|
--surface-raised: oklch(0.99 0 0);
|
|
--surface-overlay: oklch(0.98 0 0);
|
|
|
|
/* Semantic status - Light mode (subtle, not overwhelming) */
|
|
--status-confirmed-bg: oklch(0.97 0.02 145);
|
|
--status-confirmed-border: oklch(0.88 0.03 145);
|
|
--status-confirmed-text: oklch(0.38 0.12 145);
|
|
|
|
--status-pending-bg: oklch(0.97 0.02 75);
|
|
--status-pending-border: oklch(0.88 0.03 75);
|
|
--status-pending-text: oklch(0.48 0.15 75);
|
|
|
|
--status-cancelled-bg: oklch(0.97 0.02 25);
|
|
--status-cancelled-border: oklch(0.88 0.03 25);
|
|
--status-cancelled-text: oklch(0.45 0.15 25);
|
|
|
|
--status-noshow-bg: oklch(0.97 0.02 50);
|
|
--status-noshow-border: oklch(0.88 0.03 50);
|
|
--status-noshow-text: oklch(0.45 0.12 50);
|
|
|
|
--status-completed-bg: oklch(0.97 0.02 220);
|
|
--status-completed-border: oklch(0.88 0.03 220);
|
|
--status-completed-text: oklch(0.38 0.1 220);
|
|
|
|
/* Borders */
|
|
--border-subtle: oklch(1 0 0 / 8%);
|
|
--border-default: oklch(1 0 0 / 12%);
|
|
--border-emphasis: oklch(1 0 0 / 20%);
|
|
|
|
/* Input */
|
|
--input-bg: oklch(0.97 0 0);
|
|
--input-border: oklch(0.89 0 0);
|
|
}
|
|
|
|
.dark {
|
|
--background: oklch(0.14 0.015 145);
|
|
--foreground: oklch(0.98 0.01 145);
|
|
--card: oklch(0.19 0.02 145);
|
|
--card-foreground: oklch(0.98 0.01 145);
|
|
--popover: oklch(0.2 0.02 145);
|
|
--popover-foreground: oklch(0.98 0.01 145);
|
|
--primary: oklch(0.76 0.11 145);
|
|
--primary-foreground: oklch(0.15 0.02 145);
|
|
--secondary: oklch(0.24 0.02 145);
|
|
--secondary-foreground: oklch(0.98 0.01 145);
|
|
--muted: oklch(0.24 0.02 145);
|
|
--muted-foreground: oklch(0.72 0.02 145);
|
|
--accent: oklch(0.28 0.05 82);
|
|
--accent-foreground: oklch(0.98 0.01 82);
|
|
--destructive: oklch(0.704 0.191 22.216);
|
|
--border: oklch(1 0 0 / 10%);
|
|
--input: oklch(1 0 0 / 12%);
|
|
--ring: oklch(0.72 0.08 145);
|
|
--chart-1: oklch(0.87 0 0);
|
|
--chart-2: oklch(0.556 0 0);
|
|
--chart-3: oklch(0.439 0 0);
|
|
--chart-4: oklch(0.371 0 0);
|
|
--chart-5: oklch(0.269 0 0);
|
|
--sidebar: oklch(0.18 0.02 145);
|
|
--sidebar-foreground: oklch(0.98 0.01 145);
|
|
--sidebar-primary: oklch(0.76 0.11 145);
|
|
--sidebar-primary-foreground: oklch(0.15 0.02 145);
|
|
--sidebar-accent: oklch(0.28 0.05 82);
|
|
--sidebar-accent-foreground: oklch(0.98 0.01 82);
|
|
--sidebar-border: oklch(1 0 0 / 10%);
|
|
--sidebar-ring: oklch(0.72 0.08 145);
|
|
|
|
/* Surface elevation (dark mode: higher = lighter) */
|
|
--surface-base: oklch(0.145 0 0);
|
|
--surface-raised: oklch(0.18 0 0);
|
|
--surface-overlay: oklch(0.22 0 0);
|
|
|
|
/* Semantic status - Dark mode (desaturated, lower contrast) */
|
|
--status-confirmed-bg: oklch(0.25 0.06 145 / 40%);
|
|
--status-confirmed-border: oklch(0.35 0.06 145 / 60%);
|
|
--status-confirmed-text: oklch(0.7 0.08 145);
|
|
|
|
--status-pending-bg: oklch(0.25 0.06 75 / 40%);
|
|
--status-pending-border: oklch(0.35 0.06 75 / 60%);
|
|
--status-pending-text: oklch(0.75 0.08 75);
|
|
|
|
--status-cancelled-bg: oklch(0.25 0.06 25 / 40%);
|
|
--status-cancelled-border: oklch(0.35 0.06 25 / 60%);
|
|
--status-cancelled-text: oklch(0.75 0.08 25);
|
|
|
|
--status-noshow-bg: oklch(0.25 0.06 50 / 40%);
|
|
--status-noshow-border: oklch(0.35 0.06 50 / 60%);
|
|
--status-noshow-text: oklch(0.75 0.08 50);
|
|
|
|
--status-completed-bg: oklch(0.25 0.06 220 / 40%);
|
|
--status-completed-border: oklch(0.35 0.06 220 / 60%);
|
|
--status-completed-text: oklch(0.7 0.08 220);
|
|
|
|
/* Borders */
|
|
--border-subtle: oklch(1 0 0 / 6%);
|
|
--border-default: oklch(1 0 0 / 10%);
|
|
--border-emphasis: oklch(1 0 0 / 18%);
|
|
|
|
/* Input */
|
|
--input-bg: oklch(1 0 0 / 10%);
|
|
--input-border: oklch(1 0 0 / 15%);
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
html {
|
|
@apply font-sans;
|
|
font-synthesis-weight: none;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground antialiased;
|
|
background-image: radial-gradient(
|
|
circle at top left,
|
|
oklch(0.94 0.04 145 / 0.55),
|
|
transparent 32%
|
|
), radial-gradient(circle at top right, oklch(0.96 0.03 220 / 0.45), transparent 28%),
|
|
linear-gradient(
|
|
to bottom,
|
|
oklch(0.99 0.005 145),
|
|
oklch(0.985 0.01 145) 28%,
|
|
oklch(0.97 0.01 145)
|
|
);
|
|
background-attachment: fixed;
|
|
}
|
|
.dark body {
|
|
background-image: radial-gradient(
|
|
circle at top left,
|
|
oklch(0.32 0.08 145 / 0.35),
|
|
transparent 32%
|
|
), radial-gradient(circle at top right, oklch(0.26 0.05 220 / 0.2), transparent 28%),
|
|
linear-gradient(to bottom, oklch(0.15 0.015 145), oklch(0.14 0.015 145));
|
|
}
|
|
::selection {
|
|
background: color-mix(in oklab, var(--primary) 28%, transparent);
|
|
color: var(--foreground);
|
|
}
|
|
}
|