Fondations
Les tokens bruts qui composent le système. Toutes les couleurs sont en OKLCH pour une uniformité perceptuelle entre teintes.
Couleurs sémantiques
Tokens principaux pour le texte, les surfaces, les actions et les états. Disponibles via les classes Tailwind (text-primary, bg-card, border-border…).
background
--backgroundforeground
--foregroundcard
--cardcard-foreground
--card-foregroundpopover
--popoverpopover-foreground
--popover-foregroundprimary
--primaryprimary-foreground
--primary-foregroundsecondary
--secondarysecondary-foreground
--secondary-foregroundmuted
--mutedmuted-foreground
--muted-foregroundaccent
--accentaccent-foreground
--accent-foregrounddestructive
--destructivedestructive-foreground
--destructive-foregroundsuccess
--successsuccess-foreground
--success-foregroundwarning
--warningwarning-foreground
--warning-foregroundinfo
--infoinfo-foreground
--info-foregroundborder
--borderinput
--inputring
--ringCharts
Palette pour Recharts. Choisies pour rester distinctes en dark mode.
chart-1
--chart-1chart-2
--chart-2chart-3
--chart-3chart-4
--chart-4chart-5
--chart-5HIRA — Niveaux de risque
Échelle de criticité utilisée par les modules HSE (HIRA, AuditQHSE, RiskControl).
risk-low
--risk-lowrisk-medium
--risk-mediumrisk-high
--risk-highrisk-critical
--risk-criticalStatuts
États transverses pour actions, audits, tickets, formations.
status-new
--status-newstatus-in-progress
--status-in-progressstatus-done
--status-donestatus-late
--status-lateTypographie
Échelle typographique standard. Utilise les classes Tailwind text-*.
DisplayMulti SaaS — la plateforme
text-5xl font-bold tracking-tightH1Multi SaaS — la plateforme
text-4xl font-bold tracking-tightH2Multi SaaS — la plateforme
text-3xl font-semibold tracking-tightH3Multi SaaS — la plateforme
text-2xl font-semibold tracking-tightH4Multi SaaS — la plateforme
text-xl font-semiboldBodyMulti SaaS — la plateforme
text-baseSmallMulti SaaS — la plateforme
text-smCaptionMulti SaaS — la plateforme
text-xs text-muted-foregroundEspacement
Échelle d'espacement Tailwind (1 unité = 0.25rem = 4px).
p-14px
p-28px
p-312px
p-416px
p-624px
p-832px
p-1248px
p-1664px
p-2496px
Border radius
Échelle d'arrondi basée sur --radius (0.625rem).
rounded-smrounded-mdrounded-lgrounded-xlrounded-2xlrounded-3xlrounded-fullOmbres
Échelle d'ombres Tailwind + l'ombre signature --shadow-elegant.
shadow-smshadow-mdshadow-lgshadow-xlshadow-2xlGradients signature
Hero gradient
tsx
<div style={{ background: 'var(--gradient-hero)' }} />