Scale buttons down on press #16
- MA
Nothing in the app acknowledged a click. Every control had a hover state and then went straight from hovered to done, so the one moment the user is certain they did something passed without being drawn at all.
Two scales rather than one. Four percent of a full-width row is several pixels at each edge and reads as the row jumping; the same four percent on a 28-pixel toolbar cell is one pixel, which is exactly right. Scale is a proportion, so only the width tells us which case we are in, and `data-press="wide"` marks it โ on all six row-shaped controls: two reveal buttons, the history toggle, a slash-menu command, a quoted passage, and a decision pointing into the plan.
The transition sits at zero specificity so any `transition` utility on the element wins instead. That meant moving fourteen sites off `transition-colors`, which covers the colours and pointedly not `scale`, onto the bare `transition` utility that covers both. Buttons carrying no transition of their own fall back to the theme's rather than snapping.
Disabled controls are excluded: a press that animates and then does nothing says the opposite of what disabled is trying to say. The whole of it sits behind `prefers-reduced-motion`.
๐ค Generated with [Claude Code](https://claude.com/claude-code)
---
### Stack
Merge bottom-up. Each PR targets the one below it, so every diff reads in isolation; GitHub retargets the child automatically as each parent merges.
1. #9 โ Emit all theme tokens, fix callout colours, load Inter โ `main` 2. #10 โ Add two-stop shadow scale tokens 3. #11 โ Add radius tokens and replace bare rounded classes 4. #12 โ Add type scale tokens, replace arbitrary font sizes 5. #13 โ Add easing and duration tokens, set transition defaults 6. #15 โ Add one focus-visible outline rule for all controls 7. #16 โ Scale buttons down on press 8. #17 โ Add tabular-nums to figures and balance plan headings 9. #18 โ Shorten empty states and composer status copy 10. #19 โ Add entrance animation for newly arrived items
Plan: `docs/superpowers/plans/2026-08-04-design-token-foundation.md`
MaggieAppletonreferenced this in Add tabular-nums to figures and balance plan headings #173 months ago on GitHub
MaggieAppletonreferenced this in Shorten empty states and composer status copy #183 months ago on GitHub
MaggieAppletonreferenced this in Animate newly received messages and status indicators #193 months ago on GitHub
MaggieAppletonreferenced this in Emit all theme tokens, fix callout colours, load Inter #93 months ago on GitHub
MaggieAppletonreferenced this in Add two-stop shadow scale tokens #103 months ago on GitHub
MaggieAppletonreferenced this in Add radius tokens and replace bare rounded classes #113 months ago on GitHub
MaggieAppletonreferenced this in Add type scale tokens, replace arbitrary font sizes #123 months ago on GitHub
MaggieAppletonreferenced this in Add easing and duration tokens, set transition defaults #133 months ago on GitHub
MaggieAppletonreferenced this in Add one focus-visible outline rule for all controls #153 months ago on GitHub
MaggieAppletonbase-ref-force-pushed3 months ago on GitHub
MaggieAppletonhead-ref-force-pushed 085023c49aba3 months ago on GitHub
MaggieAppletonrenamed Let a control go down under the finger to Scale buttons down on press3 months ago on GitHub
MaggieAppletonbase-ref-force-pushed3 months ago on GitHub
MaggieAppletonhead-ref-force-pushed 86ebb335c6a93 months ago on GitHub
MaggieAppletonbase-ref-force-pushed3 months ago on GitHub
MaggieAppletonhead-ref-force-pushed a45a3bf92c7e3 months ago on GitHub
MaggieAppletonbase-ref-force-pushed3 months ago on GitHub
MaggieAppletonhead-ref-force-pushed b5f81600c85c3 months ago on GitHub
MaggieAppletonbase-ref-force-pushed3 months ago on GitHub
MaggieAppletonhead-ref-force-pushed d88eeb8f32793 months ago on GitHub
MaggieAppletonbase-ref-force-pushed3 months ago on GitHub
MaggieAppletonhead-ref-force-pushed b8cfac9520cf3 months ago on GitHub
MaggieAppletonhead-ref-force-pushed e5082de44e203 months ago on GitHub
MaggieAppletonbase-ref-force-pushed3 months ago on GitHub
MaggieAppletonbase-ref-force-pushed3 months ago on GitHub
MaggieAppletonhead-ref-force-pushed 9b0bb2ec4b823 months ago on GitHub
MaggieAppletonautomatic-base-change-succeeded3 months ago on GitHub
MaggieAppletonhead-ref-force-pushed 87e93fc7871e3 months ago on GitHub
MaggieAppletonmerged d522ac763e9d3 months ago on GitHub
MaggieAppletonhead-ref-deleted3 months ago on GitHub