Colour tokens

One dominant colour (violet), one accent (pink), tinted neutrals. Named by role, defined once in :root. Dark mode uses light-dark().

Type

System sans-serif, body at 1rem with a line height of 1.6 and a line length of at most 65ch. Only display sizes are fluid.

Heading 1

Heading 2

Heading 3

Body text with a link that is underlined, strong text and emphasis. The link is not told apart by colour alone.

Components in every state

Button

Default, hover, keyboard focus, active and disabled. Hover and press the first button, tab to it for focus.

Card

A card

Surface, border, a coloured top edge and a shadow. It lifts a little on hover, unless the visitor asked for less motion.

Second card

The top edge cycles through violet, pink and green, which are the dominant, accent and success colours.

Quote

"A quote has a coloured edge and italic type."

Swatch

Aa7.10:1
Aa6.04:1
Aa5.48:1