Template
Next.js 16 + React 19 storefront template with Shopify Storefront API integration, Tailwind v4, and shadcn/ui components. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0111qSr3KopyGRsJ6LznR1xZ
113 lines
2.5 KiB
CSS
113 lines
2.5 KiB
CSS
@import 'tailwindcss';
|
|
|
|
@theme {
|
|
/* Refined neutral modern palette */
|
|
--color-background: hsl(0 0% 100%);
|
|
--color-foreground: hsl(240 10% 3.9%);
|
|
|
|
/* Card */
|
|
--color-card: hsl(0 0% 100%);
|
|
--color-card-foreground: hsl(240 10% 3.9%);
|
|
|
|
/* Popover */
|
|
--color-popover: hsl(0 0% 100%);
|
|
--color-popover-foreground: hsl(240 10% 3.9%);
|
|
|
|
/* Primary - Deep neutral slate for professional look */
|
|
--color-primary: hsl(240 5.9% 10%);
|
|
--color-primary-foreground: hsl(0 0% 98%);
|
|
|
|
/* Secondary */
|
|
--color-secondary: hsl(240 4.8% 95.9%);
|
|
--color-secondary-foreground: hsl(240 5.9% 10%);
|
|
|
|
/* Muted */
|
|
--color-muted: hsl(240 4.8% 95.9%);
|
|
--color-muted-foreground: hsl(240 3.8% 46.1%);
|
|
|
|
/* Accent - Subtle warm gray */
|
|
--color-accent: hsl(30 6.7% 95%);
|
|
--color-accent-foreground: hsl(240 5.9% 10%);
|
|
|
|
/* Destructive */
|
|
--color-destructive: hsl(0 84.2% 60.2%);
|
|
--color-destructive-foreground: hsl(0 0% 98%);
|
|
|
|
/* Border */
|
|
--color-border: hsl(240 5.9% 90%);
|
|
--color-input: hsl(240 5.9% 90%);
|
|
--color-ring: hsl(240 5.9% 10%);
|
|
|
|
/* Radius - Modern larger corners */
|
|
--radius-sm: 0.5rem;
|
|
--radius-md: 0.75rem;
|
|
--radius-lg: 1rem;
|
|
--radius-xl: 1.25rem;
|
|
|
|
/* Enhanced typography scale */
|
|
--font-heading: 'Space Grotesk', system-ui, sans-serif;
|
|
--font-body: 'Inter', system-ui, sans-serif;
|
|
--font-poppins: 'Poppins', system-ui, sans-serif;
|
|
}
|
|
|
|
/* Base styles for light, modern Shopify storefront */
|
|
body {
|
|
font-feature-settings:
|
|
'kern' 1,
|
|
'tnum' 1;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
/* Modern card design for products and collections */
|
|
.card-modern {
|
|
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
border: 1px solid var(--color-border);
|
|
}
|
|
|
|
.card-modern:hover {
|
|
transform: translateY(-8px);
|
|
box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.1);
|
|
border-color: hsl(240 5.9% 85%);
|
|
}
|
|
|
|
/* Bold heading styles */
|
|
h1,
|
|
h2,
|
|
.font-heading {
|
|
font-weight: 700;
|
|
letter-spacing: -0.025em;
|
|
}
|
|
|
|
/* Enhanced button styles */
|
|
button,
|
|
.btn-modern {
|
|
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.btn-modern:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow:
|
|
0 10px 15px -3px rgb(0 0 0 / 0.1),
|
|
0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
}
|
|
|
|
/* Hero section styles */
|
|
.hero-bg {
|
|
background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
|
|
}
|
|
|
|
/* Product gallery improvements */
|
|
.product-gallery-main {
|
|
transition: box-shadow 0.3s ease;
|
|
}
|
|
|
|
.product-gallery-main:hover {
|
|
box-shadow: 0 0 0 1px hsl(240 5.9% 80%) inset;
|
|
}
|
|
|
|
/* Clean price display */
|
|
.price-display {
|
|
font-feature-settings: 'tnum';
|
|
}
|