peter
fc186e1230
refactor(ui): address /code-review on .btn-primary — tone family + doc fixes
...
- Generalize the recipe into a .btn-{tone} family: add .btn-danger / .btn-warn
siblings sharing one hover-dim, and migrate the two hand-rolled tone-action
buttons (ConfirmProvider danger confirm, Banner warning action) onto them, so
primary/danger/warn action paints can't drift.
- Reword the recipe comment: it owns paint + one standard hover-dim (not
'PAINT-ONLY' — that mislabel obscured the hover behaviour).
- Drop the now-redundant hover:opacity-90 from Banner's action-button base (each
tone's recipe supplies the hover).
The 3 previously hover-less primary buttons keep the standard hover-dim gained in
the prior commit (intentional consistency; now accurately documented). Gate green
(tsc/eslint-0/prettier/knip/vitest 79); self-E2E confirmed btn-danger/btn-warn
compute to their tone/tone-fg tokens.
2026-08-11 04:20:10 +02:00
..
2026-07-21 02:26:40 +02:00
2026-08-11 04:04:06 +02:00
2026-08-11 04:04:06 +02:00
2026-08-08 04:27:51 +02:00
2026-08-09 21:06:58 +02:00
2026-08-09 17:43:42 +02:00
2026-08-09 17:43:42 +02:00
2026-08-09 17:46:13 +02:00
2026-08-09 03:18:04 +02:00
2026-08-09 03:18:04 +02:00
2026-06-12 18:01:43 +02:00
2026-08-08 09:28:23 +02:00
2026-08-11 04:20:10 +02:00
2026-08-08 00:50:05 +02:00
2026-07-21 02:26:40 +02:00
2026-08-08 00:50:05 +02:00
2026-07-21 02:26:40 +02:00
2026-06-19 03:22:10 +02:00
2026-08-11 04:04:06 +02:00
2026-08-09 21:06:58 +02:00
2026-08-11 03:29:08 +02:00
2026-07-21 02:26:40 +02:00
2026-08-11 00:27:04 +02:00
2026-08-08 09:28:23 +02:00
2026-08-11 04:04:06 +02:00
2026-08-09 17:43:42 +02:00
2026-08-09 17:43:42 +02:00
2026-08-11 04:20:10 +02:00
2026-07-22 04:14:46 +02:00
2026-06-19 11:18:20 +02:00
2026-07-27 22:10:03 +02:00
2026-08-11 04:04:06 +02:00
2026-08-11 04:04:06 +02:00
2026-07-21 02:26:40 +02:00
2026-08-11 04:04:06 +02:00
2026-08-11 04:04:06 +02:00
2026-07-27 22:10:03 +02:00
2026-07-27 22:10:03 +02:00
2026-08-09 03:18:04 +02:00
2026-07-19 00:08:34 +02:00
2026-08-11 04:04:06 +02:00
2026-08-09 03:18:04 +02:00
2026-08-11 04:04:06 +02:00
2026-08-09 17:43:42 +02:00
2026-07-13 02:28:06 +02:00
2026-07-19 01:25:32 +02:00
2026-07-21 02:26:40 +02:00
2026-08-11 03:29:08 +02:00
2026-08-09 17:43:42 +02:00
2026-08-11 04:04:06 +02:00
2026-07-18 19:11:38 +02:00
2026-08-09 17:43:42 +02:00
2026-08-08 00:50:05 +02:00
2026-08-08 00:50:05 +02:00
2026-07-21 02:26:40 +02:00
2026-07-21 22:29:39 +02:00
2026-08-11 04:04:06 +02:00
2026-08-09 03:18:04 +02:00
2026-08-11 04:04:06 +02:00
2026-07-21 02:26:40 +02:00
2026-08-09 17:43:42 +02:00
2026-08-11 04:04:06 +02:00
2026-08-09 17:43:42 +02:00
2026-08-09 03:18:04 +02:00
2026-08-11 02:20:52 +02:00
2026-08-09 17:43:42 +02:00
2026-08-09 21:06:58 +02:00
2026-07-21 02:26:40 +02:00
2026-08-11 00:27:04 +02:00
2026-07-27 22:10:03 +02:00
2026-08-11 02:20:52 +02:00
2026-08-11 04:04:06 +02:00
2026-08-09 01:03:53 +02:00
2026-08-09 03:18:04 +02:00
2026-08-09 17:43:42 +02:00
2026-08-09 17:43:42 +02:00
2026-08-08 09:28:23 +02:00
2026-08-11 04:04:06 +02:00
2026-08-11 04:04:06 +02:00
2026-08-11 04:04:06 +02:00
2026-08-11 00:27:04 +02:00
2026-08-11 02:20:52 +02:00
2026-08-11 00:27:04 +02:00
2026-08-09 17:43:43 +02:00
2026-08-09 17:46:13 +02:00
2026-08-09 21:06:58 +02:00
2026-08-09 17:43:42 +02:00
2026-08-09 03:18:04 +02:00
2026-08-11 02:20:52 +02:00
2026-07-21 02:26:40 +02:00
2026-06-19 11:18:20 +02:00
2026-08-11 04:04:06 +02:00
2026-08-11 04:04:06 +02:00
2026-08-08 01:38:06 +02:00
2026-07-27 22:40:11 +02:00
2026-07-21 02:26:40 +02:00
2026-08-11 04:04:06 +02:00
2026-08-11 04:04:06 +02:00
2026-07-27 22:10:03 +02:00