Skip to main content

Buttons

The Buttons screen, with its live preview

Its own text size, padding (top/bottom and sides, in em, so it follows the text), text weight — 500 by default, independent of body text and headings — and its own corner radius (from the shape scale, a pill by default), all previewed together as you change them.

The text size is a step of the text scale (S, M, L) with a factor under it. Leave it at ×1 or nudge it — ×1.1, for example — and the buttons' text is that step times the factor. It is still one variable, --btn-font-size.