Multi-tenant digital menu platform (Collina Systems): public QR menu with glassmorphism + 3D macro flip cards, mobile-first editor with draft/publish versioning (5-version history + restore), AI consultant & translation (Claude Haiku), realtime orders via SSE, configurable palette, QR generation, superadmin panel, and Docker/Coolify infra.
52 lines
1.4 KiB
TypeScript
52 lines
1.4 KiB
TypeScript
import type { Config } from 'tailwindcss';
|
|
|
|
const config: Config = {
|
|
content: [
|
|
'./src/**/*.{js,ts,jsx,tsx,mdx}',
|
|
],
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
display: ['var(--font-fraunces)', 'Georgia', 'serif'],
|
|
body: ['var(--font-inter)', 'system-ui', 'sans-serif'],
|
|
},
|
|
colors: {
|
|
// Universal, non-configurable macro color code (product standard).
|
|
macro: {
|
|
protein: '#C2410C',
|
|
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;
|