- setup wizard (src/pages/setup): welcome (pick the language: the wizard switches at once), the owner's account, the venue (kind, name, staff language, time zone), an optional lock-screen PIN, finish -> sign in; English and Greek - shell (src/shell): AppLayout (license banner in both languages, header, lock button, idle lock / sign-out), Sidebar on a new 'nav' token set in @xenia/ui (light + dark), ProfileDialog (name, username, password, 4-6 digit PIN), licenseContext; App.jsx loads the session and the setup state with react-query (no setState in effects); the header's dead search box gone - Management -> Tables -> List (src/pages/tables, was TablesConfigTab): zones as tabs (drag to reorder), zone name / prefix / colour, add many numbered on, a table's name (6 chars) / zone / seats, twice-used names flagged, off / on / delete, pick several to move, rename in a series or delete (says how many failed) - the old src/ui kit, layouts/, components/Sidebar + EditProfileModal, the 'primary' palette and the .btn/.card/.input classes deleted; NotificationBell / UserMenuButton on tokens; @xenia/ui: nav tokens, 'scrim' in the Tailwind preset - v2.json paths = src (the guards cover all of it); npm run lint = eslint src; argsIgnorePattern for components in JSX - tests: shell.test.mjs (3), e2e setup.mjs (new: a fresh install through the wizard in Greek to the overview, in run-all), manager.mjs 'tables list' (zone, 3 tables, rename series, profile PIN, rail tokens) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
616 B
JavaScript
20 lines
616 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}', '../packages/ordering/src/**/*.{js,jsx}'], // signage slides use a few utilities (5.6a)
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
sans: ['Google Sans', 'system-ui', 'sans-serif'],
|
|
},
|
|
fontSize: {
|
|
base: ['1rem', { lineHeight: '1.5rem' }],
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
}
|