Fonts switched to Montserrat (UI) + Merriweather (landing wordmark). Macro protein standard color updated to #dc2626; primary actions hardcoded red. New globals.css primitives: ai-smoke gradient buttons, seg-btn, sticky cat-bar, editor dock-*, macro shimmer, delivery-timer pulses, liquid-btn, aurora, editable-num. - Public: landing (video bg + red CTA), PublicMenu (segmented toggle + "Preguntar a Claude" + sticky category bar w/ scroll-spy + Order/Waiter/ Split FABs), DishCard flip, MacrosBack shimmer, BrandHeader, SplitPanel, AiConsultant. - Editor: bottom dock navigation, EditorLogin video background, BrandTab, CatalogTab (+SectionTitleEditor), VersionHistory, OrdersTab, ProductEditor. - Admin: AdminLogin, AdminPanel. - Add landing/editor background videos under public/videos. - ES/EN i18n keys added; FRONTEND.md updated; design mockups included. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
53 lines
1.5 KiB
TypeScript
53 lines
1.5 KiB
TypeScript
import type { Config } from 'tailwindcss';
|
|
|
|
const config: Config = {
|
|
content: [
|
|
'./src/**/*.{js,ts,jsx,tsx,mdx}',
|
|
],
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
display: ['var(--font-montserrat)', 'system-ui', 'sans-serif'],
|
|
body: ['var(--font-montserrat)', 'system-ui', 'sans-serif'],
|
|
serif: ['var(--font-merriweather)', 'Georgia', 'serif'],
|
|
},
|
|
colors: {
|
|
// Universal, non-configurable macro color code (product standard).
|
|
macro: {
|
|
protein: '#dc2626',
|
|
carbs: '#B45309',
|
|
sugar: '#BE185D',
|
|
fat: '#CA8A04',
|
|
fiber: '#15803D',
|
|
kcal: '#1D4ED8',
|
|
},
|
|
},
|
|
backdropBlur: {
|
|
xs: '2px',
|
|
},
|
|
keyframes: {
|
|
'fade-up': {
|
|
'0%': { opacity: '0', transform: 'translateY(16px)' },
|
|
'100%': { opacity: '1', transform: 'translateY(0)' },
|
|
},
|
|
'spawn': {
|
|
'0%': { opacity: '0', transform: 'scale(0.92) translateY(8px)' },
|
|
'100%': { opacity: '1', transform: 'scale(1) translateY(0)' },
|
|
},
|
|
'pulse-dot': {
|
|
'0%, 100%': { opacity: '1', transform: 'scale(1)' },
|
|
'50%': { opacity: '0.4', transform: 'scale(0.85)' },
|
|
},
|
|
},
|
|
animation: {
|
|
'fade-up': 'fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both',
|
|
'spawn': 'spawn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both',
|
|
'pulse-dot': 'pulse-dot 1.4s ease-in-out infinite',
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
};
|
|
|
|
export default config;
|