Five button roles ship. Only one is filled with the brand gradient — the rest are a neutral outline, bare text, or an icon. The gradient primary is also the only button whose hover is a brightness shift; everything else fills with a tint.
The five roles
Counted across the whole app: 32 gradient primaries, ~35 outlined secondaries, 7 danger solids, 63 icon buttons and 5 text links, plus the full-width auth primary below. There is no ghost button — an action without a box is a text link, not a borderless one.
gradient fill · hover brightness(1.08)1px border · hover fills #F9FAFBsolid #EF4444 · #DC2626 when discarding editsgradient-clipped text · underline at offset 3pxpadding 6px · radius 6px · 16px glyphPrimary sizes
Three paddings, one type size. The 12px/600 label never changes — only the box around it does.
| Size | Padding | Used for |
|---|---|---|
| Small | 6px 12px | Inside a toolbar or a table header |
| Medium | 8px 16px | The default — most actions |
| Large | 9px 17px | The main action on a panel, e.g. Add Activity |
States
Disabled is the same everywhere: half opacity and a not-allowed cursor. The fill is never swapped for grey.
Auth primary
The sign-in screens use a wider, full-width variant of the primary — the only button in the product that carries a resting shadow.
Specs
| Role | Fill | Border | Label | Hover |
|---|---|---|---|---|
| Primary | Brand gradient | None | 12px / 600 #fff | filter: brightness(1.08) |
| Secondary | Transparent | 1px #E5E7EB | 12px / 600, text or muted | Fill #F9FAFB |
| Danger | #EF4444 | None | 12px / 600 #fff | brightness(1.10) |
| Text | None | None | 13px / 700, gradient-clipped | opacity .7 |
| Icon | Transparent | None | — (16px glyph, #6B7280) | Fill #F9FAFB |
| Property | Value |
|---|---|
| Radius | 8px on most labelled buttons; 12px on the tonal; 6px on an icon button; 10px on the auth primary |
| Gradient | linear-gradient(90deg, #5C2ED4 0%, #A614C3 65%); in dark mode a radial haze is layered under it at 88.34deg |
| Icon + label | gap 6px · glyph 14×14 |
| Disabled | opacity .5 · cursor: not-allowed · the fill is kept, never greyed |
| Auth primary | padding 12px 28px · radius 10px · 14px / 600 · width 100% · shadow 0 4px 14px rgba(166,20,195,.25), dropped when disabled |
A handful of one-offs exist and are deliberately not roles — each appears once or twice and should not be reached for: a brand-purple outline on Generate Code (1px #A855F7) and a PDF action (1px #A614C3); a tonal fill on Book Roll (brand at 8–10% inside rgba(166,20,195,.22) at radius 12px); and a white CTA on the Marketplace promo card (#5C2ED4 text, 0 2px 8px rgba(0,0,0,.10)). The last two also rise 1px on hover — the only buttons in the product that move. Use a role above instead. |
| Two roles lift on hover — tonal and inverse rise 1px and deepen their shadow. That is the only place a button moves, and the inverse is the only button with a resting shadow outside the auth screens. |
Primary hover is a brightness filter, not a darker gradient or a shadow — 23 sites use 1.08 and 19 use 1.10. Everything else hovers by filling with #F9FAFB. |
| Only the auth primary has a resting shadow. Elsewhere a primary sits flat, including in dialogs. |
| The icon button is by far the most common — 63 sites against 32 gradient primaries. Most actions in this product are icons in a row, not labelled buttons. |