Skip to content

Tokens ​

Every colour is a --fp-color-* custom property, set for both skins in tokens.css. A custom skin sets the same names. With Tailwind, each maps into the theme with an fp- prefix: --fp-color-shell becomes bg-fp-shell, text-fp-shell and so on, and changes with the skin.

Colours ​

Read from the stylesheet as it renders, so these are the values that ship.

Chrome Silver

  • chrome-hi
  • chrome-100
  • chrome-300
  • chrome-500
  • chrome-800
  • chrome-tint
  • scroll-thumb
  • shell
  • shell-hi
  • shell-matte
  • well
  • field
  • ink
  • ink-soft
  • ink-dim
  • bevel-hi
  • bevel-lo
  • edge
  • edge-strong
  • cast
  • grid
  • lcd-bg
  • lcd-ink
  • lcd-ghost
  • housing
  • housing-ink
  • led-on
  • led-amber
  • led-red
  • led-off
  • cap
  • cap-ink
  • cap-blue
  • cap-blue-ink
  • cap-amber
  • cap-amber-ink
  • cap-graphite
  • cap-graphite-ink
  • cap-berry
  • cap-berry-ink
  • gel
  • gel-hi
  • gel-lo
  • gel-ink
  • focus
  • focus-ring
  • select
  • error-text
  • backdrop
  • backdrop-hi

Gunmetal Night

  • chrome-hi
  • chrome-100
  • chrome-300
  • chrome-500
  • chrome-800
  • chrome-tint
  • scroll-thumb
  • shell
  • shell-hi
  • shell-matte
  • well
  • field
  • ink
  • ink-soft
  • ink-dim
  • bevel-hi
  • bevel-lo
  • edge
  • edge-strong
  • cast
  • grid
  • lcd-bg
  • lcd-ink
  • lcd-ghost
  • housing
  • housing-ink
  • led-on
  • led-amber
  • led-red
  • led-off
  • cap
  • cap-ink
  • cap-blue
  • cap-blue-ink
  • cap-amber
  • cap-amber-ink
  • cap-graphite
  • cap-graphite-ink
  • cap-berry
  • cap-berry-ink
  • gel
  • gel-hi
  • gel-lo
  • gel-ink
  • focus
  • focus-ring
  • select
  • error-text
  • backdrop
  • backdrop-hi

Fonts ​

TokenStackUsed for
--fp-font-uiTahoma, Verdana, "Segoe UI", system-ui, sans-serifText and button labels
--fp-font-display"Michroma", "Arial Black", sans-serifSilkscreen labels and titles
--fp-font-lcd"VT323", "Courier New", monospaceLCD readouts

Michroma and VT323 load from fonts.css; see Fonts.

Checked pairs ​

The colour pairings the classes rely on, and their contrast in each skin. Text needs 4.5:1 and other UI 3:1 for WCAG AA, and a test holds both skins to it. A custom skin that keeps these passing keeps the classes readable. A pair not listed is not promised.

Pair Where Needs Chrome SilverGunmetal Night
ink on shelltext on the device body4.5:1
ink on shell-mattetext in a module4.5:1
ink on chrome-100chrome button label, light end4.5:1
ink on chrome-300chrome button label, dark end4.5:1
ink on welltext in a recessed well4.5:1
ink on fieldtext in a field4.5:1
ink on backdroppage text (base.css)4.5:1
ink-soft on shellsilkscreen label on the device body4.5:1
ink-soft on shell-mattesilkscreen label in a module4.5:1
ink-soft on chrome-300silkscreen label on a title bar4.5:1
ink-soft on wellsecondary text in a well4.5:1
ink-dim on shell-mattedim text, matte panels only4.5:1
error-text on shell-matteerror message in a module4.5:1
error-text on fielderror message in a field4.5:1
lcd-ink on lcd-bgLCD readout4.5:1
housing-ink on housinglabel in a dark housing4.5:1
gel-ink on gelgel button label, mid-height4.5:1
cap-ink on caplabel on a plain cap4.5:1
cap-blue-ink on cap-bluelabel on a blue cap4.5:1
cap-amber-ink on cap-amberlabel on an amber cap4.5:1
cap-graphite-ink on cap-graphitelabel on a graphite cap4.5:1
cap-berry-ink on cap-berrylabel on a berry cap4.5:1
edge-strong on shell-mattefield border in a module3:1
edge-strong on fieldfield border against its fill3:1
select on shell-mattering around a selected cap, against the module3:1
select on wellring around a selected cap, against a well3:1
focus-ring on shellfocus ring on the device body3:1
focus-ring on shell-mattefocus ring in a module3:1
focus-ring on chrome-100focus ring on chrome3:1
focus-ring on backdropfocus ring on the page3:1
led-on on housinglit green LED in its bezel3:1
led-amber on housinglit amber LED in its bezel3:1
led-red on housinglit red LED in its bezel3:1
scroll-thumb on wellscrollbar thumb in a well3:1
scroll-thumb on shell-mattescrollbar thumb in a module3:1
scroll-thumb on shellscrollbar thumb on the device body3:1