Skip to main content

Themes

Dense data ships 2 themes: light, dark. Only semantic tokens change between themes; components never do.

How to switch​

  • Dark mode: add the class dark to <html>.

Brands​

  • Dense data (default): The single brand: precise blue on cool grey.

Key colors in each theme​

The page, its main surface and text, the main action at rest and on hover, and the focus ring: the colors that show a theme at a glance. Each shows the primitive it points at, then its value.

  • the neutral is slate (cool). Muted color keeps attention on the data; a cool gray reads as precise.
Tokenlightdark
color.surface.canvasAaslate.light.50via neutral.50 · #F7F8FAAaslate.dark.0via neutral.0 · #0D1117
color.surface.defaultAaslate.light.0via neutral.0 · #FFFFFFAaslate.dark.50via neutral.50 · #161B23
color.text.primaryAaslate.light.900via neutral.900 · #161B23Aaslate.dark.900via neutral.900 · #F7F8FA
color.action.primaryAaviolet.light.600#4B3FD9Aaviolet.dark.600#A9A3F6
color.action.primary.hoverAaviolet.light.700#3729AAAaviolet.dark.700#BEBBFB
color.border.focusAaviolet.light.600#4B3FD9Aaviolet.dark.600#A9A3F6