Skip to content

Color

Neutral ramp + one accent per product, remapped by data-nx-product; status and chart palettes are fixed.

View as Markdown

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-ink
Slate 700 (secondary text)--nx-slate-700
Slate 500 (muted text)--nx-slate-500
Slate 300 (faint, disabled)--nx-slate-300
Hairline (borders)--nx-hairline
Surface-2 (subtle fill)Light grey in light, one step above Surface in dark.--nx-surface-2
Surface (cards, inputs)White in light, dark slate in dark.--nx-white
Paper (page background)Off-white in light, darkest background in dark.--nx-paper

Accent ramps

ordNX 50--nx-accent-50
ordNX 100--nx-accent-100
ordNX 600 (signature)--nx-accent-600
ordNX 700--nx-accent-700
checkNX 50--nx-accent-50
checkNX 100--nx-accent-100
checkNX 600 (signature)--nx-accent-600
checkNX 700--nx-accent-700
certNX 50 (standalone)--nx-accent-50
certNX 100 (standalone)--nx-accent-100
certNX 600 (signature, standalone)--nx-accent-600
certNX 700 (standalone)--nx-accent-700
fileNX 50--nx-accent-50
fileNX 100--nx-accent-100
fileNX 600 (signature)--nx-accent-600
fileNX 700--nx-accent-700
firmNX 50--nx-accent-50
firmNX 100--nx-accent-100
firmNX 600 (signature)--nx-accent-600
firmNX 700--nx-accent-700
SkyONEx 50--nx-accent-50
SkyONEx 100--nx-accent-100
SkyONEx 600 (signature)--nx-accent-600
SkyONEx 700--nx-accent-700
coproNX 50--nx-accent-50
coproNX 100--nx-accent-100
coproNX 600 (signature)--nx-accent-600
coproNX 700--nx-accent-700
hostNX 50--nx-accent-50
hostNX 100--nx-accent-100
hostNX 600 (signature)--nx-accent-600
hostNX 700--nx-accent-700

Status

Success--nx-success
Warning--nx-warning
Serious--nx-serious
Danger--nx-danger

Chart

Chart 1--nx-chart-1
Chart 2--nx-chart-2
Chart 3--nx-chart-3
Chart 4--nx-chart-4
Chart 5--nx-chart-5
Chart 6--nx-chart-6

Accessibility

  • 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-*.

View in spec