2025-09-09 18:19:54 +09:00
|
|
|
/* Tailwind CSS v4: import the full framework */
|
2025-08-20 18:02:50 +09:00
|
|
|
@import "tailwindcss";
|
2025-09-02 13:52:13 +09:00
|
|
|
@import "../styles/tokens.css";
|
2025-09-26 18:28:47 +09:00
|
|
|
@import "../styles/utilities.css";
|
|
|
|
|
@import "../styles/responsive.css";
|
2025-11-22 18:11:43 +09:00
|
|
|
@import "tw-animate-css";
|
|
|
|
|
|
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
2025-08-20 18:02:50 +09:00
|
|
|
|
|
|
|
|
:root {
|
|
|
|
|
--radius: 0.625rem;
|
2025-10-29 15:54:45 +09:00
|
|
|
|
|
|
|
|
/* Core neutrals (light) */
|
|
|
|
|
--background: oklch(0.98 0 0);
|
|
|
|
|
--foreground: oklch(0.16 0 0);
|
|
|
|
|
|
|
|
|
|
--card: var(--background);
|
|
|
|
|
--card-foreground: var(--foreground);
|
|
|
|
|
--popover: var(--background);
|
|
|
|
|
--popover-foreground: var(--foreground);
|
|
|
|
|
|
|
|
|
|
/* Primary brand (azure) */
|
|
|
|
|
--primary: oklch(0.62 0.17 255);
|
|
|
|
|
--primary-foreground: oklch(0.99 0 0);
|
|
|
|
|
/* Interaction shades */
|
|
|
|
|
--primary-hover: oklch(0.58 0.17 255);
|
|
|
|
|
--primary-active: oklch(0.54 0.17 255);
|
|
|
|
|
|
|
|
|
|
/* Subtle surfaces & text */
|
|
|
|
|
--secondary: oklch(0.93 0 0);
|
|
|
|
|
--secondary-foreground: oklch(0.29 0 0);
|
|
|
|
|
|
|
|
|
|
--muted: oklch(0.95 0 0);
|
|
|
|
|
--muted-foreground: oklch(0.55 0 0);
|
|
|
|
|
|
|
|
|
|
/* Light accent (tinted, not a second brand) */
|
|
|
|
|
--accent: oklch(0.94 0.03 245);
|
|
|
|
|
--accent-foreground: var(--foreground);
|
|
|
|
|
|
|
|
|
|
/* Feedback (now with full semantic set) */
|
|
|
|
|
--destructive: oklch(0.62 0.21 27);
|
|
|
|
|
--destructive-foreground: oklch(0.99 0 0);
|
|
|
|
|
--destructive-soft: oklch(0.96 0.05 27);
|
|
|
|
|
|
|
|
|
|
--success: oklch(0.67 0.14 150);
|
|
|
|
|
--success-foreground: oklch(0.99 0 0);
|
|
|
|
|
--success-soft: oklch(0.95 0.05 150);
|
|
|
|
|
|
|
|
|
|
--warning: oklch(0.78 0.16 90);
|
|
|
|
|
--warning-foreground: oklch(0.16 0 0);
|
|
|
|
|
--warning-soft: oklch(0.96 0.07 90);
|
|
|
|
|
|
|
|
|
|
--info: oklch(0.64 0.16 255);
|
|
|
|
|
--info-foreground: oklch(0.99 0 0);
|
|
|
|
|
--info-soft: oklch(0.95 0.05 255);
|
|
|
|
|
|
|
|
|
|
/* UI chrome */
|
|
|
|
|
--border: oklch(0.90 0 0);
|
|
|
|
|
--border-muted: oklch(0.88 0 0);
|
|
|
|
|
--input: var(--border);
|
|
|
|
|
--ring: oklch(0.68 0.16 255);
|
|
|
|
|
--ring-subtle: color-mix(in oklch, var(--ring) 45%, transparent);
|
|
|
|
|
|
|
|
|
|
/* Charts */
|
|
|
|
|
--chart-1: oklch(0.62 0.17 255);
|
|
|
|
|
--chart-2: oklch(0.66 0.15 202);
|
|
|
|
|
--chart-3: oklch(0.64 0.19 147);
|
|
|
|
|
--chart-4: oklch(0.70 0.16 82);
|
|
|
|
|
--chart-5: oklch(0.68 0.16 28);
|
|
|
|
|
|
|
|
|
|
/* Sidebar */
|
|
|
|
|
--sidebar: var(--background);
|
|
|
|
|
--sidebar-foreground: var(--foreground);
|
2025-09-09 18:19:54 +09:00
|
|
|
--sidebar-primary: var(--primary);
|
2025-10-29 15:54:45 +09:00
|
|
|
--sidebar-primary-foreground: var(--primary-foreground);
|
|
|
|
|
--sidebar-accent: var(--secondary);
|
|
|
|
|
--sidebar-accent-foreground: var(--secondary-foreground);
|
|
|
|
|
--sidebar-border: var(--border);
|
|
|
|
|
--sidebar-ring: var(--ring);
|
2025-08-20 18:02:50 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dark {
|
2025-10-29 15:54:45 +09:00
|
|
|
/* Core neutrals (dark) */
|
|
|
|
|
--background: oklch(0.15 0 0);
|
|
|
|
|
--foreground: oklch(0.98 0 0);
|
|
|
|
|
|
|
|
|
|
--card: oklch(0.18 0 0);
|
|
|
|
|
--card-foreground: var(--foreground);
|
|
|
|
|
--popover: oklch(0.18 0 0);
|
|
|
|
|
--popover-foreground: var(--foreground);
|
|
|
|
|
|
|
|
|
|
/* Primary brand (slightly lighter for dark) */
|
|
|
|
|
--primary: oklch(0.74 0.16 255);
|
|
|
|
|
--primary-foreground: oklch(0.15 0 0);
|
|
|
|
|
--primary-hover: oklch(0.70 0.16 255);
|
|
|
|
|
--primary-active: oklch(0.66 0.16 255);
|
|
|
|
|
|
|
|
|
|
/* Subtle surfaces & text */
|
|
|
|
|
--secondary: oklch(0.22 0 0);
|
|
|
|
|
--secondary-foreground: oklch(0.90 0 0);
|
|
|
|
|
|
|
|
|
|
--muted: oklch(0.25 0 0);
|
|
|
|
|
--muted-foreground: oklch(0.74 0 0);
|
|
|
|
|
|
|
|
|
|
/* Accent (tinted) */
|
|
|
|
|
--accent: oklch(0.24 0.02 245);
|
|
|
|
|
--accent-foreground: oklch(0.92 0 0);
|
|
|
|
|
|
|
|
|
|
/* Feedback */
|
|
|
|
|
--destructive: oklch(0.70 0.21 27);
|
|
|
|
|
--destructive-foreground: oklch(0.15 0 0);
|
|
|
|
|
--destructive-soft: oklch(0.25 0.05 27);
|
|
|
|
|
|
|
|
|
|
--success: oklch(0.76 0.14 150);
|
|
|
|
|
--success-foreground: oklch(0.15 0 0);
|
|
|
|
|
--success-soft: oklch(0.24 0.05 150);
|
|
|
|
|
|
|
|
|
|
--warning: oklch(0.86 0.16 90);
|
|
|
|
|
--warning-foreground: oklch(0.15 0 0);
|
|
|
|
|
--warning-soft: oklch(0.26 0.07 90);
|
|
|
|
|
|
|
|
|
|
--info: oklch(0.78 0.15 255);
|
|
|
|
|
--info-foreground: oklch(0.15 0 0);
|
|
|
|
|
--info-soft: oklch(0.24 0.05 255);
|
|
|
|
|
|
|
|
|
|
/* UI chrome */
|
|
|
|
|
--border: oklch(0.32 0 0);
|
|
|
|
|
--border-muted: oklch(0.28 0 0);
|
|
|
|
|
--input: var(--border);
|
|
|
|
|
--ring: oklch(0.78 0.13 255);
|
|
|
|
|
--ring-subtle: color-mix(in oklch, var(--ring) 40%, transparent);
|
|
|
|
|
|
|
|
|
|
/* Charts */
|
|
|
|
|
--chart-1: oklch(0.74 0.16 255);
|
|
|
|
|
--chart-2: oklch(0.72 0.14 202);
|
|
|
|
|
--chart-3: oklch(0.70 0.18 147);
|
|
|
|
|
--chart-4: oklch(0.74 0.17 82);
|
|
|
|
|
--chart-5: oklch(0.72 0.17 28);
|
|
|
|
|
|
|
|
|
|
/* Sidebar */
|
|
|
|
|
--sidebar: var(--card);
|
|
|
|
|
--sidebar-foreground: var(--foreground);
|
2025-09-09 18:19:54 +09:00
|
|
|
--sidebar-primary: var(--primary);
|
2025-10-29 15:54:45 +09:00
|
|
|
--sidebar-primary-foreground: var(--primary-foreground);
|
|
|
|
|
--sidebar-accent: var(--secondary);
|
|
|
|
|
--sidebar-accent-foreground: var(--secondary-foreground);
|
|
|
|
|
--sidebar-border: var(--border);
|
|
|
|
|
--sidebar-ring: var(--ring);
|
2025-09-09 18:19:54 +09:00
|
|
|
}
|
|
|
|
|
|
2025-10-29 15:54:45 +09:00
|
|
|
/* Tailwind v4 token map (add the new ones) */
|
2025-09-09 18:19:54 +09:00
|
|
|
@theme {
|
|
|
|
|
--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);
|
2025-10-29 15:54:45 +09:00
|
|
|
|
2025-09-09 18:19:54 +09:00
|
|
|
--color-primary: var(--primary);
|
|
|
|
|
--color-primary-foreground: var(--primary-foreground);
|
2025-10-29 15:54:45 +09:00
|
|
|
--color-primary-hover: var(--primary-hover);
|
|
|
|
|
--color-primary-active: var(--primary-active);
|
|
|
|
|
|
2025-09-09 18:19:54 +09:00
|
|
|
--color-secondary: var(--secondary);
|
|
|
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
2025-10-29 15:54:45 +09:00
|
|
|
|
2025-09-09 18:19:54 +09:00
|
|
|
--color-muted: var(--muted);
|
|
|
|
|
--color-muted-foreground: var(--muted-foreground);
|
2025-10-29 15:54:45 +09:00
|
|
|
|
2025-09-09 18:19:54 +09:00
|
|
|
--color-accent: var(--accent);
|
|
|
|
|
--color-accent-foreground: var(--accent-foreground);
|
2025-10-29 15:54:45 +09:00
|
|
|
|
2025-09-09 18:19:54 +09:00
|
|
|
--color-destructive: var(--destructive);
|
2025-10-29 15:54:45 +09:00
|
|
|
--color-destructive-foreground: var(--destructive-foreground);
|
|
|
|
|
--color-destructive-soft: var(--destructive-soft);
|
|
|
|
|
|
|
|
|
|
--color-success: var(--success);
|
|
|
|
|
--color-success-foreground: var(--success-foreground);
|
|
|
|
|
--color-success-soft: var(--success-soft);
|
|
|
|
|
|
|
|
|
|
--color-warning: var(--warning);
|
|
|
|
|
--color-warning-foreground: var(--warning-foreground);
|
|
|
|
|
--color-warning-soft: var(--warning-soft);
|
|
|
|
|
|
|
|
|
|
--color-info: var(--info);
|
|
|
|
|
--color-info-foreground: var(--info-foreground);
|
|
|
|
|
--color-info-soft: var(--info-soft);
|
|
|
|
|
|
2025-09-09 18:19:54 +09:00
|
|
|
--color-border: var(--border);
|
2025-10-29 15:54:45 +09:00
|
|
|
--color-border-muted: var(--border-muted);
|
2025-09-09 18:19:54 +09:00
|
|
|
--color-input: var(--input);
|
|
|
|
|
--color-ring: var(--ring);
|
2025-10-29 15:54:45 +09:00
|
|
|
--color-ring-subtle: var(--ring-subtle);
|
|
|
|
|
|
2025-09-09 18:19:54 +09:00
|
|
|
--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);
|
2025-08-20 18:02:50 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@layer base {
|
|
|
|
|
* {
|
2025-09-09 18:19:54 +09:00
|
|
|
border-color: var(--border);
|
2025-10-29 15:54:45 +09:00
|
|
|
outline-color: var(--ring-subtle);
|
2025-08-20 18:02:50 +09:00
|
|
|
}
|
|
|
|
|
body {
|
2025-09-09 18:19:54 +09:00
|
|
|
background-color: var(--background);
|
|
|
|
|
color: var(--foreground);
|
|
|
|
|
font-family: var(--font-geist-sans), system-ui, sans-serif;
|
2025-08-20 18:02:50 +09:00
|
|
|
}
|
|
|
|
|
}
|
2025-11-22 18:11:43 +09:00
|
|
|
|
|
|
|
|
@theme inline {
|
|
|
|
|
--animate-aurora: aurora 60s linear infinite;
|
|
|
|
|
@keyframes aurora {
|
|
|
|
|
from {
|
|
|
|
|
backgroundPosition: 50% 50%, 50% 50%;
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
backgroundPosition: 350% 50%, 350% 50%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@layer base {
|
|
|
|
|
* {
|
|
|
|
|
@apply border-border outline-ring/50;
|
|
|
|
|
}
|
|
|
|
|
body {
|
|
|
|
|
@apply bg-background text-foreground;
|
|
|
|
|
}
|
|
|
|
|
}
|