Green Heart
Styleguide
The tokens this app is built from, rendered with the tokens themselves. Change a value in src/styles.css and this page changes with it.
Colour
Body text, and the darkest ground
Dark sections and headers
Primary buttons and links
Accent fills only
⚠ As small text on mist: 2.36:1 — fails as text
Green text, focus rings
As small text on mist: 3.26:1 — passes
Page background
Borders and dividers
One warm accent, used sparingly
Secondary text
The one rule worth memorising
Green text on a light ground is --pulse-deep. Green fill is --pulse. Every label on the marketing site was the wrong one until somebody measured it.
Type
Každé město potřebuje zelené, tlukoucí srdce.
Každé město potřebuje zelené, tlukoucí srdce.
Každé město potřebuje zelené, tlukoucí srdce.
Každé město potřebuje zelené, tlukoucí srdce.
Každé město potřebuje zelené, tlukoucí srdce.
Radius
Interaction
Tab through this page. Every focusable thing gets a visible ring, and it has to stay that way — the app is used outdoors, on a phone, often one-handed.
The star is a 44 px target with a small glyph inside it. That is the point of tap-target: the hit area is not the drawn shape.
On dark
On a dark ground, --pulse is fine
It reaches 4.32:1 here.
Contrast is a relationship, not a property of a colour. The same green that fails on mist passes comfortably on heart-deep.