Skip to main content

FLOORS

Constant FLOORS 

pub const FLOORS: &'static [ContrastFloor];
Expand description

Every promise, in the order findings are reported.

  • Primary and secondary ink are body text on every surface and on a selected or hovered row; tertiary ink is large-text quiet on every surface and body text on content, where it is defined.
  • A primary action’s label reads on its fill at rest, under the pointer and pressed, and the fill stands off the window (WCAG 1.4.11).
  • The on state stands off the window and its knob stands on it.
  • A selected row is a visible step off the window.
  • The accent ink reads as a link on the window and is a focus indicator (WCAG 2.4.11) on every surface of a window and on floating chrome; every presence colour reads as a caret or pill on the window, its fields and floating chrome.
  • Status is ink on a neutral control and a dot on the desktop.