Files
2026-06-16 19:17:37 +03:00

157 lines
4.4 KiB
CSS

@import "tailwindcss";
@import "tw-animate-css";
@import "shadcn/tailwind.css";
@custom-variant dark (&:is(.dark *));
@theme inline {
/* Shadcn UI Variables */
--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);
/* Luxe Stay Design Tokens - Clean High Contrast Luxury */
--color-surface: #ffffff;
--color-on-surface: #0f172a;
--color-on-surface-variant: #475569;
--color-surface-container-lowest: #ffffff;
--color-surface-container-low: #f8fafc;
--color-surface-container: #f1f5f9;
--color-surface-container-high: #e2e8f0;
--color-surface-container-highest: #cbd5e1;
--color-surface-variant: #f1f5f9;
--color-primary-container: #1e293b;
--color-on-primary-container: #f8fafc;
--color-on-primary: #ffffff;
--color-secondary-container: #e2e8f0;
--color-on-secondary-container: #0f172a;
--color-tertiary: #2d1d00;
--color-on-tertiary: #ffffff;
--color-tertiary-container: #493100;
--color-on-tertiary-container: #cb9524;
--color-tertiary-fixed: #ffdeaa;
--color-tertiary-fixed-dim: #f8bc4b;
--color-outline: #64748b;
--color-outline-variant: #cbd5e1;
--color-inverse-surface: #0f172a;
--color-inverse-on-surface: #f8fafc;
--color-primary-fixed-dim: #94a3b8;
/* Typography */
--font-sans: var(--font-inter);
--font-heading: var(--font-montserrat);
--font-label-sm: var(--font-inter);
--font-headline-md: var(--font-montserrat);
--font-display-lg-mobile: var(--font-montserrat);
--font-display-lg: var(--font-montserrat);
--font-body-lg: var(--font-inter);
--font-body-md: var(--font-inter);
/* Spacing */
--spacing-margin-desktop: 48px;
--spacing-margin-mobile: 16px;
--spacing-container-max: 1280px;
--spacing-stack-sm: 8px;
--spacing-stack-md: 24px;
--spacing-stack-lg: 48px;
--spacing-gutter: 24px;
/* Radius */
--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);
}
:root {
/* Mapping Shadcn to Luxe Stay */
--background: #ffffff;
--foreground: #0f172a;
--card: #ffffff;
--card-foreground: #0f172a;
--popover: #ffffff;
--popover-foreground: #0f172a;
--primary: #0f172a;
--primary-foreground: #ffffff;
--secondary: #f1f5f9;
--secondary-foreground: #0f172a;
--muted: #f8fafc;
--muted-foreground: #64748b;
--accent: #f1f5f9;
--accent-foreground: #0f172a;
--destructive: #ef4444;
--destructive-foreground: #ffffff;
--border: #e2e8f0;
--input: #c4c6cf;
--ring: #002045;
--radius: 0.5rem;
}
.dark {
/* Inverse for Dark Mode */
--background: #020617;
--foreground: #f8fafc;
--card: #0f172a;
--card-foreground: #f8fafc;
--popover: #0f172a;
--popover-foreground: #f8fafc;
--primary: #f8fafc;
--primary-foreground: #0f172a;
--secondary: #1e293b;
--secondary-foreground: #f8fafc;
--muted: #1e293b;
--muted-foreground: #94a3b8;
--accent: #1e293b;
--accent-foreground: #f8fafc;
--destructive: #7f1d1d;
--destructive-foreground: #f8fafc;
--border: #1e293b;
--input: #1e293b;
--ring: #f8fafc;
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-surface text-on-surface font-body-md;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html {
@apply font-sans;
scroll-behavior: smooth;
}
::selection {
@apply bg-primary text-primary-foreground;
}
}
/* Accessibility: Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}