feat(ui): unify global visual identity, theme tokens and report filters
This commit is contained in:
@@ -10,12 +10,12 @@ export const WORK_ORDER_STATUS_LABEL: Record<WorkOrder['status'], string> = {
|
||||
}
|
||||
|
||||
const LIGHT_STATUS_BADGE: Record<WorkOrder['status'], string> = {
|
||||
quote: 'border-amber-400 bg-amber-100 text-slate-800',
|
||||
quote: 'border-[var(--ui-warning)] bg-[var(--ui-warning)] text-[var(--ui-warning-text)]',
|
||||
open: 'border-sky-400 bg-sky-100 text-slate-800',
|
||||
in_progress: 'border-indigo-400 bg-indigo-100 text-slate-800',
|
||||
completed: 'border-emerald-400 bg-emerald-100 text-slate-800',
|
||||
invoiced: 'border-teal-400 bg-teal-100 text-slate-800',
|
||||
cancelled: 'border-rose-400 bg-rose-100 text-slate-800',
|
||||
cancelled: 'border-[var(--ui-danger)] bg-[var(--ui-danger)] text-[var(--ui-danger-text)]',
|
||||
}
|
||||
|
||||
export function workOrderStatusBadgeClass(status: WorkOrder['status']) {
|
||||
|
||||
Reference in New Issue
Block a user