195 lines
6.3 KiB
CSS
195 lines
6.3 KiB
CSS
@import "tailwindcss";
|
|||
|
|
@import "tw-animate-css";
|
||
|
|
@import "shadcn/tailwind.css";
|
||
|
|
|
||
|
|
@custom-variant dark (&:is(.dark *));
|
||
|
|
|
||
|
|
@theme inline {
|
||
|
|
--font-heading: var(--font-display);
|
||
|
|
--font-sans: var(--font-sans);
|
||
|
|
--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);
|
||
|
|
}
|
||
|
|
|
||
|
|
/*
|
||
|
|
* Palette: dark-mode-first (fits the product's low-lit, intimate register).
|
||
|
|
* Every hue anchors to the pink -> purple -> blue brand sweep; --primary/
|
||
|
|
* --accent/--chart-* are the only places it should read as loud. Card
|
||
|
|
* surfaces stay a near-neutral indigo-black so the sweep doesn't flood
|
||
|
|
* every panel.
|
||
|
|
*/
|
||
|
|
:root {
|
||
|
|
--background: oklch(0.99 0.005 300);
|
||
|
|
--foreground: oklch(0.22 0.03 290);
|
||
|
|
--card: oklch(0.98 0.008 300);
|
||
|
|
--card-foreground: oklch(0.22 0.03 290);
|
||
|
|
--popover: oklch(0.99 0.005 300);
|
||
|
|
--popover-foreground: oklch(0.22 0.03 290);
|
||
|
|
--primary: oklch(0.58 0.23 322);
|
||
|
|
--primary-foreground: oklch(0.99 0.01 322);
|
||
|
|
--secondary: oklch(0.94 0.02 300);
|
||
|
|
--secondary-foreground: oklch(0.3 0.05 300);
|
||
|
|
--muted: oklch(0.95 0.015 300);
|
||
|
|
--muted-foreground: oklch(0.5 0.03 290);
|
||
|
|
--accent: oklch(0.9 0.06 330);
|
||
|
|
--accent-foreground: oklch(0.3 0.1 330);
|
||
|
|
--destructive: oklch(0.577 0.245 27.325);
|
||
|
|
--border: oklch(0.9 0.02 300);
|
||
|
|
--input: oklch(0.9 0.02 300);
|
||
|
|
--ring: oklch(0.58 0.23 322);
|
||
|
|
--chart-1: oklch(0.72 0.2 350);
|
||
|
|
--chart-2: oklch(0.62 0.24 320);
|
||
|
|
--chart-3: oklch(0.58 0.22 280);
|
||
|
|
--chart-4: oklch(0.6 0.2 250);
|
||
|
|
--chart-5: oklch(0.68 0.15 220);
|
||
|
|
--radius: 0.9rem;
|
||
|
|
--sidebar: oklch(0.97 0.01 300);
|
||
|
|
--sidebar-foreground: oklch(0.22 0.03 290);
|
||
|
|
--sidebar-primary: oklch(0.58 0.23 322);
|
||
|
|
--sidebar-primary-foreground: oklch(0.99 0.01 322);
|
||
|
|
--sidebar-accent: oklch(0.9 0.06 330);
|
||
|
|
--sidebar-accent-foreground: oklch(0.3 0.1 330);
|
||
|
|
--sidebar-border: oklch(0.9 0.02 300);
|
||
|
|
--sidebar-ring: oklch(0.58 0.23 322);
|
||
|
|
}
|
||
|
|
|
||
|
|
.dark {
|
||
|
|
--background: oklch(0.16 0.025 285);
|
||
|
|
--foreground: oklch(0.95 0.015 290);
|
||
|
|
--card: oklch(0.21 0.03 285);
|
||
|
|
--card-foreground: oklch(0.95 0.015 290);
|
||
|
|
--popover: oklch(0.19 0.03 285);
|
||
|
|
--popover-foreground: oklch(0.95 0.015 290);
|
||
|
|
--primary: oklch(0.7 0.2 322);
|
||
|
|
--primary-foreground: oklch(0.15 0.03 322);
|
||
|
|
--secondary: oklch(0.28 0.04 285);
|
||
|
|
--secondary-foreground: oklch(0.92 0.02 290);
|
||
|
|
--muted: oklch(0.26 0.03 285);
|
||
|
|
--muted-foreground: oklch(0.68 0.03 290);
|
||
|
|
--accent: oklch(0.35 0.09 330);
|
||
|
|
--accent-foreground: oklch(0.95 0.03 330);
|
||
|
|
--destructive: oklch(0.704 0.191 22.216);
|
||
|
|
--border: oklch(1 0 0 / 10%);
|
||
|
|
--input: oklch(1 0 0 / 14%);
|
||
|
|
--ring: oklch(0.7 0.2 322);
|
||
|
|
--chart-1: oklch(0.75 0.19 350);
|
||
|
|
--chart-2: oklch(0.7 0.22 320);
|
||
|
|
--chart-3: oklch(0.68 0.2 280);
|
||
|
|
--chart-4: oklch(0.68 0.19 250);
|
||
|
|
--chart-5: oklch(0.72 0.15 220);
|
||
|
|
--sidebar: oklch(0.19 0.03 285);
|
||
|
|
--sidebar-foreground: oklch(0.95 0.015 290);
|
||
|
|
--sidebar-primary: oklch(0.7 0.2 322);
|
||
|
|
--sidebar-primary-foreground: oklch(0.15 0.03 322);
|
||
|
|
--sidebar-accent: oklch(0.35 0.09 330);
|
||
|
|
--sidebar-accent-foreground: oklch(0.95 0.03 330);
|
||
|
|
--sidebar-border: oklch(1 0 0 / 10%);
|
||
|
|
--sidebar-ring: oklch(0.7 0.2 322);
|
||
|
|
}
|
||
|
|
|
||
|
|
@layer base {
|
||
|
|
* {
|
||
|
|
@apply border-border outline-ring/50;
|
||
|
|
}
|
||
|
|
body {
|
||
|
|
@apply bg-background text-foreground;
|
||
|
|
}
|
||
|
|
html {
|
||
|
|
@apply font-sans;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Signature pink -> purple -> blue sweep, used sparingly (primary CTAs,
|
||
|
|
active rings, headline accents) rather than flooding every surface. */
|
||
|
|
.bp-gradient-text {
|
||
|
|
background: linear-gradient(
|
||
|
|
100deg,
|
||
|
|
oklch(0.75 0.19 350),
|
||
|
|
oklch(0.65 0.23 322),
|
||
|
|
oklch(0.62 0.2 260)
|
||
|
|
);
|
||
|
|
background-clip: text;
|
||
|
|
-webkit-background-clip: text;
|
||
|
|
color: transparent;
|
||
|
|
}
|
||
|
|
|
||
|
|
.bp-gradient-ring {
|
||
|
|
background: linear-gradient(
|
||
|
|
135deg,
|
||
|
|
oklch(0.75 0.19 350),
|
||
|
|
oklch(0.65 0.23 322),
|
||
|
|
oklch(0.62 0.2 260)
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Glassy translucent card surface, subtle glow on hover. */
|
||
|
|
.bp-glass {
|
||
|
|
background: color-mix(in oklch, var(--card) 72%, transparent);
|
||
|
|
backdrop-filter: blur(16px);
|
||
|
|
-webkit-backdrop-filter: blur(16px);
|
||
|
|
border: 1px solid var(--border);
|
||
|
|
transition:
|
||
|
|
box-shadow 0.2s ease,
|
||
|
|
border-color 0.2s ease,
|
||
|
|
transform 0.2s ease;
|
||
|
|
}
|
||
|
|
.bp-glass:hover {
|
||
|
|
border-color: color-mix(in oklch, var(--primary) 45%, var(--border));
|
||
|
|
box-shadow: 0 0 0 1px color-mix(in oklch, var(--primary) 25%, transparent), 0 10px 30px -12px rgba(0, 0, 0, 0.45);
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes bp-pulse-glow {
|
||
|
|
0%,
|
||
|
|
100% {
|
||
|
|
box-shadow: 0 0 0 0 color-mix(in oklch, var(--primary) 55%, transparent);
|
||
|
|
}
|
||
|
|
50% {
|
||
|
|
box-shadow: 0 0 0 6px color-mix(in oklch, var(--primary) 0%, transparent);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
.bp-pulse {
|
||
|
|
animation: bp-pulse-glow 2s ease-in-out infinite;
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (prefers-reduced-motion: reduce) {
|
||
|
|
.bp-pulse {
|
||
|
|
animation: none;
|
||
|
|
}
|
||
|
|
}
|