People read Beehexa screens on bright monitors, dim laptops and phones in the sun. Contrast keeps the text readable on all of them.
Every text, icon and border token passes WCAG 2.2 AA on every background it is paired with, in light and in dark.
Contrast
| What | Minimum | WCAG 2.2 |
|---|---|---|
| Text | 4.5:1 | 1.4.3 |
| Icons, control edges, focus ring | 3:1 | 1.4.11 |
| Disabled controls, the yellow indicator bar, the logo | No minimum | 1.4.3 exception |
Colour is never the only signal (WCAG 1.4.1): statuses are written in words, selected items have a second cue.
Pairing
Text, icons and borders only go on the backgrounds listed with them. Every pair here passes contrast in light and dark, and is checked on every build.
surfacesurface.pagesurface.subtlesurface.overlaybackground.selectedbackground.selected.hoversurface.overlay.selectedsurface.overlay.selected.hoverIcons and borders: icon, icon.subtle, icon.danger, icon.warning, icon.success, icon.info, border.bold, border.focus, border.selectedbackground.neutralbackground.neutral.hoverbackground.neutral.subtle.hoverbackground.neutral.transparent.hoversurface.overlay.hoversurface.overlay.pressedIcons and borders: icon, icon.subtle, icon.danger, icon.warning, icon.success, icon.info, border.bold, border.focusbackground.brand.subtleIcons and borders: icon, icon.subtlebackground.danger.subtlebackground.danger.subtle.hoverbackground.danger.subtle.pressedbackground.dangerIcons and borders: icon.dangerbackground.warning.subtlebackground.warning.subtle.hoverbackground.warning.subtle.pressedbackground.warningIcons and borders: icon.warningbackground.success.subtlebackground.success.subtle.hoverbackground.success.subtle.pressedbackground.successIcons and borders: icon.successbackground.info.subtlebackground.info.subtle.hoverbackground.info.subtle.pressedbackground.infoIcons and borders: icon.infobackground.danger.boldbackground.danger.bold.hoverbackground.danger.bold.pressedbackground.warning.boldbackground.warning.bold.hoverbackground.warning.bold.pressedbackground.success.boldbackground.success.bold.hoverbackground.success.bold.pressedbackground.info.boldbackground.info.bold.hoverbackground.info.bold.pressedIcons and borders: icon.on-boldbackground.neutral.boldbackground.neutral.bold.hoverbackground.neutral.bold.pressedsurface.inverseIcons and borders: icon.inversebackground.brand.boldcode.backgroundtext.on-bold on a solid fill: white in light, dark in dark.
Subtle or coloured text on a solid fill.
Checked automatically
Every pair in Pairing is checked automatically, in light and in dark. A text, icon or border token that falls below its minimum on any of its backgrounds is not released. A translucent fill, such as the hover of a row, has no contrast of its own: the check lays it over every surface it can sit on and checks the text on each result.