- Added essential configuration files including components.json, package.json, and tsconfig.json to establish the component library structure. - Introduced global styles in globals.css and layout structure in layout.tsx for consistent design application. - Implemented various UI components such as Accordion, AlertDialog, Button, Card, and more, enhancing the component library for future development. - Included utility functions and hooks to support component functionality and responsiveness. This commit sets up the groundwork for a comprehensive UI component library, facilitating a modular and scalable design system.
159 lines
5.4 KiB
CSS
159 lines
5.4 KiB
CSS
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
/* Added United Tattoo design system colors and tokens */
|
|
:root {
|
|
/* United Tattoo Palette - Primary */
|
|
--burnt-orange: #e67e50;
|
|
--terracotta: #d87850;
|
|
--burnt: #b0471e;
|
|
|
|
/* United Tattoo Palette - Secondary */
|
|
--sage-concrete: #7a8b8b;
|
|
--sage: #a28f79;
|
|
--deep-olive: #4a4034;
|
|
--moss: #6f5c49;
|
|
|
|
/* United Tattoo Palette - Neutral */
|
|
--charcoal: #1c1915;
|
|
--ink: #241b16;
|
|
--cream: #fff7ec;
|
|
--sand: #f2e3d0;
|
|
--rose: #e59863;
|
|
|
|
/* Shadows */
|
|
--shadow-subtle: 0 4px 12px rgba(31, 27, 23, 0.08);
|
|
--shadow-md: 0 12px 28px rgba(31, 27, 23, 0.1);
|
|
--shadow-lg: 0 20px 40px rgba(36, 27, 22, 0.15);
|
|
--shadow-bloom: 0 32px 60px rgba(31, 27, 23, 0.2);
|
|
--shadow-filmic: 0 40px 70px rgba(31, 27, 23, 0.25);
|
|
|
|
--background: var(--sand);
|
|
--foreground: var(--ink);
|
|
--card: var(--cream);
|
|
--card-foreground: var(--ink);
|
|
--popover: var(--cream);
|
|
--popover-foreground: var(--ink);
|
|
--primary: var(--burnt);
|
|
--primary-foreground: #ffffff;
|
|
--secondary: var(--terracotta);
|
|
--secondary-foreground: #ffffff;
|
|
--muted: var(--sage-concrete);
|
|
--muted-foreground: var(--moss);
|
|
--accent: var(--burnt-orange);
|
|
--accent-foreground: #ffffff;
|
|
--destructive: oklch(0.577 0.245 27.325);
|
|
--destructive-foreground: oklch(0.577 0.245 27.325);
|
|
--border: rgba(31, 27, 23, 0.12);
|
|
--input: rgba(210, 106, 50, 0.25);
|
|
--ring: var(--terracotta);
|
|
--chart-1: oklch(0.646 0.222 41.116);
|
|
--chart-2: oklch(0.6 0.118 184.704);
|
|
--chart-3: oklch(0.398 0.07 227.392);
|
|
--chart-4: oklch(0.828 0.189 84.429);
|
|
--chart-5: oklch(0.769 0.188 70.08);
|
|
--radius: 0.75rem;
|
|
--sidebar: var(--cream);
|
|
--sidebar-foreground: var(--ink);
|
|
--sidebar-primary: var(--burnt);
|
|
--sidebar-primary-foreground: #ffffff;
|
|
--sidebar-accent: var(--sand);
|
|
--sidebar-accent-foreground: var(--ink);
|
|
--sidebar-border: rgba(31, 27, 23, 0.12);
|
|
--sidebar-ring: var(--terracotta);
|
|
}
|
|
|
|
@theme inline {
|
|
--font-sans: "Space Grotesk", "Space Grotesk Fallback", system-ui, sans-serif;
|
|
--font-serif: "Playfair Display", "Playfair Display Fallback", Georgia, serif;
|
|
--font-mono: "Geist Mono", "Geist Mono Fallback";
|
|
--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);
|
|
--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);
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) + 4px);
|
|
--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);
|
|
|
|
/* United Tattoo specific colors for direct usage */
|
|
--color-burnt-orange: var(--burnt-orange);
|
|
--color-terracotta: var(--terracotta);
|
|
--color-burnt: var(--burnt);
|
|
--color-sage-concrete: var(--sage-concrete);
|
|
--color-sage: var(--sage);
|
|
--color-deep-olive: var(--deep-olive);
|
|
--color-moss: var(--moss);
|
|
--color-charcoal: var(--charcoal);
|
|
--color-ink: var(--ink);
|
|
--color-cream: var(--cream);
|
|
--color-sand: var(--sand);
|
|
--color-rose: var(--rose);
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
body {
|
|
@apply text-foreground;
|
|
/* United Tattoo layered background */
|
|
background: linear-gradient(180deg, var(--sage-concrete) 0%, #9caaa6 45%, var(--sand) 100%);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* Texture Layer: Radial overlays */
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
background: radial-gradient(circle at 15% 20%, rgba(216, 120, 80, 0.15), transparent 45%),
|
|
radial-gradient(circle at 85% 5%, rgba(36, 27, 22, 0.08), transparent 55%);
|
|
opacity: 0.8;
|
|
z-index: -2;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Texture Layer: Grid pattern */
|
|
body::after {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 200 200" fill="none" stroke="rgba(28, 25, 21, 0.06)" stroke-width="0.5"><path d="M0 0h200v200H0z"/><path d="M-10 20h220"/><path d="M-10 60h220"/><path d="M-10 100h220"/><path d="M-10 140h220"/><path d="M-10 180h220"/><path d="M20 -10v220"/><path d="M60 -10v220"/><path d="M100 -10v220"/><path d="M140 -10v220"/><path d="M180 -10v220"/></svg>');
|
|
mix-blend-mode: multiply;
|
|
opacity: 1;
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
}
|
|
}
|