c80fe41bc9
* Add typed localStorage utility helpers * Add socket connection utility to deduplicate store boilerplate * Use storage utility for auth token management * Use createSocket utility and ScoreBreakdown type in versus store * Use createSocket utility and ScoreBreakdown type in game-night store * Use createSocket, fix typing indicator leak, add error logging * Use createSocket utility and add error logging in notification store * Add error logging for fire-and-forget backend calls * Use storage utility for auth token in API client * Add validateLink API function and use ScoreBreakdown type * Complete API index re-exports for all modules * Delegate chain validation to backend for authenticated users * Use storage utility for sound preference * Use storage utility for daily completion check * Use storage utility for daily completion write * Updated css so clickable elements properly display pointer cursor
191 lines
6.0 KiB
CSS
191 lines
6.0 KiB
CSS
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
@import "shadcn/tailwind.css";
|
|
@import "@fontsource-variable/geist";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
/* Light theme — soft warm gray with indigo accent */
|
|
:root {
|
|
--background: oklch(0.975 0.005 260);
|
|
--foreground: oklch(0.175 0.015 260);
|
|
--card: oklch(0.995 0.002 260);
|
|
--card-foreground: oklch(0.175 0.015 260);
|
|
--popover: oklch(0.995 0.002 260);
|
|
--popover-foreground: oklch(0.175 0.015 260);
|
|
--primary: oklch(0.51 0.17 265);
|
|
--primary-foreground: oklch(0.985 0 0);
|
|
--secondary: oklch(0.945 0.01 260);
|
|
--secondary-foreground: oklch(0.25 0.02 260);
|
|
--muted: oklch(0.945 0.01 260);
|
|
--muted-foreground: oklch(0.52 0.015 260);
|
|
--accent: oklch(0.935 0.015 260);
|
|
--accent-foreground: oklch(0.25 0.02 260);
|
|
--destructive: oklch(0.58 0.22 27);
|
|
--border: oklch(0.905 0.01 260);
|
|
--input: oklch(0.905 0.01 260);
|
|
--ring: oklch(0.51 0.17 265);
|
|
--chart-1: oklch(0.65 0.18 265);
|
|
--chart-2: oklch(0.60 0.16 340);
|
|
--chart-3: oklch(0.70 0.14 150);
|
|
--chart-4: oklch(0.65 0.15 45);
|
|
--chart-5: oklch(0.55 0.20 265);
|
|
--radius: 0.625rem;
|
|
--sidebar: oklch(0.97 0.005 260);
|
|
--sidebar-foreground: oklch(0.175 0.015 260);
|
|
--sidebar-primary: oklch(0.51 0.17 265);
|
|
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
--sidebar-accent: oklch(0.94 0.01 260);
|
|
--sidebar-accent-foreground: oklch(0.25 0.02 260);
|
|
--sidebar-border: oklch(0.905 0.01 260);
|
|
--sidebar-ring: oklch(0.51 0.17 265);
|
|
}
|
|
|
|
/* Dark theme — deep slate with warm amber accent */
|
|
.dark {
|
|
--background: oklch(0.155 0.015 265);
|
|
--foreground: oklch(0.935 0.01 260);
|
|
--card: oklch(0.195 0.015 265);
|
|
--card-foreground: oklch(0.935 0.01 260);
|
|
--popover: oklch(0.195 0.015 265);
|
|
--popover-foreground: oklch(0.935 0.01 260);
|
|
--primary: oklch(0.72 0.15 75);
|
|
--primary-foreground: oklch(0.16 0.02 265);
|
|
--secondary: oklch(0.24 0.015 265);
|
|
--secondary-foreground: oklch(0.90 0.01 260);
|
|
--muted: oklch(0.24 0.015 265);
|
|
--muted-foreground: oklch(0.62 0.01 260);
|
|
--accent: oklch(0.28 0.015 265);
|
|
--accent-foreground: oklch(0.93 0.01 260);
|
|
--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.15 75);
|
|
--chart-1: oklch(0.72 0.15 75);
|
|
--chart-2: oklch(0.65 0.16 340);
|
|
--chart-3: oklch(0.70 0.14 150);
|
|
--chart-4: oklch(0.60 0.18 265);
|
|
--chart-5: oklch(0.55 0.15 45);
|
|
--sidebar: oklch(0.185 0.015 265);
|
|
--sidebar-foreground: oklch(0.935 0.01 260);
|
|
--sidebar-primary: oklch(0.72 0.15 75);
|
|
--sidebar-primary-foreground: oklch(0.16 0.02 265);
|
|
--sidebar-accent: oklch(0.26 0.015 265);
|
|
--sidebar-accent-foreground: oklch(0.93 0.01 260);
|
|
--sidebar-border: oklch(1 0 0 / 10%);
|
|
--sidebar-ring: oklch(0.72 0.15 75);
|
|
}
|
|
|
|
@theme inline {
|
|
--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.4);
|
|
--radius-2xl: calc(var(--radius) * 1.8);
|
|
--radius-3xl: calc(var(--radius) * 2.2);
|
|
--radius-4xl: calc(var(--radius) * 2.6);
|
|
}
|
|
|
|
@theme inline {
|
|
--animate-confetti: confetti-fall 2.5s ease-in forwards;
|
|
--animate-slide-in: slide-in-from-bottom 0.3s ease-out;
|
|
--animate-shake: shake 0.4s ease-in-out;
|
|
--animate-check-flash: check-flash 0.6s ease-out;
|
|
--animate-glow-pulse: glow-pulse 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes confetti-fall {
|
|
0% {
|
|
transform: translateY(0) rotate(0deg);
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
transform: translateY(100vh) rotate(720deg);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes slide-in-from-bottom {
|
|
0% {
|
|
transform: translateY(12px);
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes shake {
|
|
0%, 100% { transform: translateX(0); }
|
|
20% { transform: translateX(-6px); }
|
|
40% { transform: translateX(6px); }
|
|
60% { transform: translateX(-4px); }
|
|
80% { transform: translateX(4px); }
|
|
}
|
|
|
|
@keyframes check-flash {
|
|
0% { opacity: 0; transform: scale(0.5); }
|
|
50% { opacity: 1; transform: scale(1.2); }
|
|
100% { opacity: 0; transform: scale(1); }
|
|
}
|
|
|
|
@keyframes glow-pulse {
|
|
0%, 100% { box-shadow: 0 0 4px oklch(0.72 0.15 75 / 0.3); }
|
|
50% { box-shadow: 0 0 16px oklch(0.72 0.15 75 / 0.5); }
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground antialiased;
|
|
}
|
|
html {
|
|
@apply font-sans;
|
|
}
|
|
button,
|
|
[role="button"],
|
|
a,
|
|
select,
|
|
summary,
|
|
[type="checkbox"],
|
|
[type="radio"],
|
|
label[for] {
|
|
cursor: pointer;
|
|
}
|
|
}
|