// The QR menu (plan step 6.5) on the customer apps' look: the same tokens as the order app. /** @type {import('tailwindcss').Config} */ // Colours are tokens (CSS variables in src/index.css), never literals in components: one // place to restyle the app, the same token names as the venue apps' @xenia/ui. const c = name => `rgb(var(--o-${name}) / )` export default { content: ['./index.html', './src/**/*.{js,jsx}'], theme: { extend: { fontFamily: { sans: ['Hanken Grotesk', 'Noto Sans', 'system-ui', 'sans-serif'], display: ['Bricolage Grotesque', 'Noto Sans', 'system-ui', 'sans-serif'], }, colors: { canvas: c('canvas'), surface: { DEFAULT: c('surface'), 2: c('surface-2') }, line: c('line'), ink: { DEFAULT: c('ink'), 2: c('ink-2'), 3: c('ink-3') }, accent: { DEFAULT: c('accent'), fg: c('accent-fg'), soft: c('accent-soft'), ink: c('accent-ink') }, success: { DEFAULT: c('success'), soft: c('success-soft'), ink: c('success-ink') }, warning: { soft: c('warning-soft'), ink: c('warning-ink') }, danger: { soft: c('danger-soft'), ink: c('danger-ink') }, }, borderRadius: { card: '18px', control: '12px' }, boxShadow: { card: '0 6px 18px -12px rgb(var(--o-shadow) / 0.45)', bar: '0 12px 28px -10px rgb(var(--o-shadow) / 0.6)' }, }, }, plugins: [], }