Skip to main content

Themes

Accessible first 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​

  • Accessible first (default): The single brand: strong blue on true neutral, high contrast everywhere.

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 gray (pure). A pure gray adds no hue that could lower contrast or carry a meaning.
Tokenlightdark
color.surface.canvasAagray.light.50via neutral.50 · #F7F7F7Aagray.dark.0via neutral.0 · #0A0A0A
color.surface.defaultAagray.light.0via neutral.0 · #FFFFFFAagray.dark.50via neutral.50 · #141414
color.text.primaryAagray.light.900via neutral.900 · #141414Aagray.dark.900via neutral.900 · #F7F7F7
color.action.primaryAablue.light.600#0B4FC0Aablue.dark.600#8AB4F8
color.action.primary.hoverAablue.light.700#013895Aablue.dark.700#A7C8FC
color.border.focusAablue.light.600#0B4FC0Aablue.dark.600#8AB4F8