Color
Neutral ramp + one accent per product, remapped by data-nx-product; status and chart palettes are fixed.
Tokens
--nx-ink--nx-slate-700--nx-slate-500--nx-slate-300--nx-hairline--nx-surface-2--nx-white--nx-paper--nx-accent-50--nx-accent-100--nx-accent-600--nx-accent-700--nx-on-accent--nx-success--nx-warning--nx-serious--nx-danger--nx-chart-1--nx-chart-2--nx-chart-3--nx-chart-4--nx-chart-5--nx-chart-6
Palette
Neutrals
Neutral names describe the light theme. Every neutral flips in dark mode, so pick a token by its role (text, surface, border), not by the colour its name suggests.
Ink (text)Near-black in light, near-white in dark.
--nx-inkSlate 700 (secondary text)
--nx-slate-700Slate 500 (muted text)
--nx-slate-500Slate 300 (faint, disabled)
--nx-slate-300Hairline (borders)
--nx-hairlineSurface-2 (subtle fill)Light grey in light, one step above Surface in dark.
--nx-surface-2Surface (cards, inputs)White in light, dark slate in dark.
--nx-whitePaper (page background)Off-white in light, darkest background in dark.
--nx-paperAccent ramps
ordNX 50
--nx-accent-50ordNX 100
--nx-accent-100ordNX 600 (signature)
--nx-accent-600ordNX 700
--nx-accent-700checkNX 50
--nx-accent-50checkNX 100
--nx-accent-100checkNX 600 (signature)
--nx-accent-600checkNX 700
--nx-accent-700certNX 50 (standalone)
--nx-accent-50certNX 100 (standalone)
--nx-accent-100certNX 600 (signature, standalone)
--nx-accent-600certNX 700 (standalone)
--nx-accent-700fileNX 50
--nx-accent-50fileNX 100
--nx-accent-100fileNX 600 (signature)
--nx-accent-600fileNX 700
--nx-accent-700firmNX 50
--nx-accent-50firmNX 100
--nx-accent-100firmNX 600 (signature)
--nx-accent-600firmNX 700
--nx-accent-700SkyONEx 50
--nx-accent-50SkyONEx 100
--nx-accent-100SkyONEx 600 (signature)
--nx-accent-600SkyONEx 700
--nx-accent-700coproNX 50
--nx-accent-50coproNX 100
--nx-accent-100coproNX 600 (signature)
--nx-accent-600coproNX 700
--nx-accent-700hostNX 50
--nx-accent-50hostNX 100
--nx-accent-100hostNX 600 (signature)
--nx-accent-600hostNX 700
--nx-accent-700Status
Success
--nx-successWarning
--nx-warningSerious
--nx-seriousDanger
--nx-dangerChart
Chart 1
--nx-chart-1Chart 2
--nx-chart-2Chart 3
--nx-chart-3Chart 4
--nx-chart-4Chart 5
--nx-chart-5Chart 6
--nx-chart-6Accessibility
- accent-600 is for fills/large graphics only; use accent-700 for text on accent-50/100 tints to clear WCAG AA.
- Status colour is always paired with an icon + label text, never colour alone.
Do / Don’t
- Do: Theme with one data-nx-product attribute and let tokens cascade.Don't hard-code a hex value in a component. Always go through --nx-*.