[!CAUTION] Pre-Alpha Trash Archive Warning
The code, architecture, and design patterns in this file are completely dead. To find what you actually need, go back to the active trefniq.com documentation site.
TrefnIQ theme token contract
This document defines the stable token contract that product components should use.
Required shadcn tokens
--background
--foreground
--card
--card-foreground
--popover
--popover-foreground
--primary
--primary-foreground
--secondary
--secondary-foreground
--accent
--accent-foreground
--muted
--muted-foreground
--destructive
--destructive-foreground
--border
--input
--ring
--radius
Required SaaS/status tokens
--success
--success-foreground
--warning
--warning-foreground
--info
--info-foreground
--draft
--draft-foreground
--archived
--archived-foreground
Required QHSE risk tokens
--risk-low
--risk-medium
--risk-high
--risk-critical
--risk-unassessed
Required chart tokens
--chart-1
--chart-2
--chart-3
--chart-4
--chart-5
--chart-6
Charts must use shadcn/ui chart patterns with Recharts unless a later ADR replaces the charting library.
Required sidebar tokens
--sidebar-background
--sidebar-foreground
--sidebar-primary
--sidebar-primary-foreground
--sidebar-accent
--sidebar-accent-foreground
--sidebar-border
--sidebar-ring
These support shadcn sidebar/admin-shell patterns and must remain present even if the initial shell is implemented locally.