Files
xenia-pos-local/manager_dashboard/tailwind.config.js
T
bonaminandClaude Opus 5.5 314e9c2457 refactor: @xenia/signage: the slides and the player's logic shared by the terminal and the manager (platform-v2 step 5.6a)
The signage slides (SlideView, TextSlide, MenuSlide, Widgets) and the pure
logic (schedule pick, slide windows, menu pages) move from the terminal into
packages/signage, so the manager's previews draw a slide exactly as the TV
does. Sizes are container units (cqmin) instead of viewport units: a slide
draws inside any box with container-type: size (frameStyle sets it on the
TV). Tests move with it (10). Dockerfiles copy its package.json; both apps'
Tailwind content include it; run-all runs its tests. Signage e2e and the
compose stack passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 20:59:33 +02:00

31 lines
815 B
JavaScript

import xenia from '@xenia/ui/tailwind-preset'
/** @type {import('tailwindcss').Config} */
export default {
// Shared design tokens (bg-surface, text-ink-2, rounded-control…); adds names only
presets: [xenia],
content: ['./index.html', './src/**/*.{js,jsx}', '../packages/signage/src/**/*.{js,jsx}'], // signage slides use a few utilities (5.6a)
theme: {
extend: {
fontFamily: {
sans: ['Google Sans', 'system-ui', 'sans-serif'],
},
colors: {
primary: {
DEFAULT: '#0f766e',
50: '#f0fdfa',
100: '#ccfbf1',
600: '#0d9488',
700: '#0f766e',
800: '#115e59',
900: '#134e4a',
},
},
fontSize: {
base: ['1rem', { lineHeight: '1.5rem' }],
},
},
},
plugins: [],
}