Files
xenia-pos-local/manager_dashboard/tailwind.config.js
T
bonaminandClaude Opus 5.5 070c9cf625 feat: tables and orders in the manager on v2 (platform-v2 step 6.9)
- manager: new pages/orders/ (Tables page cards + quick actions, order page with
  lines, multi-select pay/discount/cancel/tab, staff + customer, price changes,
  history, the menu + cart beside it); a free table opens a new order on first
  Send; v1 TablesPage, OrderDetailPage, DesktopOrderingTab, ManagerOrderDrawer
  and PaymentMethodModal removed
- ordering by line id like the phones: GET /api/orders/menu (the counter's
  product shape, in-store prices); the product dialog, cart rules and quote hook
  move to packages/ordering (@xenia/ordering), shared by counter, menu tablet,
  manager
- close follows orders.close_with_unpaid (pay first, or write off after saying
  so) on the order page and the overview's quick view; paying asks cash or card
- a confirmed booking can keep its table ahead (manager, phones, counter):
  POST /api/connect/bookings/{id}/table, reservations create/PATCH; refused with
  reservation.table_kept within 2 h of another booking
- tests: test_manager_ordering.py, online bookings +2, manager orders.test.mjs,
  @xenia/ordering, e2e manager.mjs (take, change, pay-first close, RESERVED)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 21:58:46 +02:00

31 lines
857 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'],
},
colors: {
primary: {
DEFAULT: '#0f766e',
50: '#f0fdfa',
100: '#ccfbf1',
600: '#0d9488',
700: '#0f766e',
800: '#115e59',
900: '#134e4a',
},
},
fontSize: {
base: ['1rem', { lineHeight: '1.5rem' }],
},
},
},
plugins: [],
}