githubnext/chopinPublic

Let's compose rich plans together

Add radius tokens and replace bare rounded classes #11

MergedMaggieAppletonmerged 1 commit intomainfromrefs/pull/11/head
  1. MA

    The theme inherited Tailwind's radius scale silently, so `--radius-md` meant one thing in the editor's stylesheet and whatever the framework last shipped everywhere else. Declaring the three rungs we use gives the scale one owner: a change lands in one place, and `check-tokens` can see a misspelt rung now that `--radius-` has left its `EXTERNAL` bypass list.

    The values are Tailwind's own, so nothing moves. `sm` and `md` are what the editor stylesheet already read; `lg` is the one utility site. `xs` and `xl` are not declared, because nothing uses them.

    `--radius-*: initial` first: `@theme` merges with Tailwind's theme rather than replacing it, so a rung we do not declare goes on resolving to a value we never chose — and its untouched `2xl` was `1rem`, the same as an `xl` we might later pick. Reaching for a rung we do not own should draw nothing.

    The bare `rounded` utility is spelled `rounded-sm` at ten call sites. Both resolve to `0.25rem`, so this is a rename rather than a change — `rounded` is the v3 name and does not appear in the scale this file now owns.

    šŸ¤– 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`

  2. MaggieAppletonreferenced this in Emit all theme tokens, fix callout colours, load Inter #93 months ago on GitHub

  3. MaggieAppletonreferenced this in Add two-stop shadow scale tokens #103 months ago on GitHub

  4. MaggieAppletonreferenced this in Add type scale tokens, replace arbitrary font sizes #123 months ago on GitHub

  5. MaggieAppletonreferenced this in Add easing and duration tokens, set transition defaults #133 months ago on GitHub

  6. MaggieAppletonreferenced this in Add one focus-visible outline rule for all controls #153 months ago on GitHub

  7. MaggieAppletonreferenced this in Scale buttons down on press #163 months ago on GitHub

  8. MaggieAppletonreferenced this in Add tabular-nums to figures and balance plan headings #173 months ago on GitHub

  9. MaggieAppletonreferenced this in Shorten empty states and composer status copy #183 months ago on GitHub

  10. MaggieAppletonreferenced this in Animate newly received messages and status indicators #193 months ago on GitHub

  11. MaggieAppletonbase-ref-force-pushed3 months ago on GitHub

  12. MaggieAppletonhead-ref-force-pushed b761c24934673 months ago on GitHub

  13. MaggieAppletonrenamed Own the corners instead of borrowing them to Add radius tokens and replace bare rounded classes3 months ago on GitHub

  14. MaggieAppletonbase-ref-force-pushed3 months ago on GitHub

  15. MaggieAppletonhead-ref-force-pushed d3629f85bd893 months ago on GitHub

  16. MaggieAppletonbase-ref-force-pushed3 months ago on GitHub

  17. MaggieAppletonhead-ref-force-pushed 24db7ab5a2f23 months ago on GitHub

  18. MaggieAppletonbase-ref-force-pushed3 months ago on GitHub

  19. MaggieAppletonhead-ref-force-pushed 905be55e90023 months ago on GitHub

  20. MaggieAppletonautomatic-base-change-succeeded3 months ago on GitHub

  21. MaggieAppletonhead-ref-force-pushed 0002447351633 months ago on GitHub

  22. MaggieAppletonmerged 9ec68f27504e3 months ago on GitHub

  23. MaggieAppletonclosed3 months ago on GitHub

  24. MaggieAppletonhead-ref-deleted3 months ago on GitHub

  25. MaggieAppletonreferenced this in Show what conversation analysis did under each Chat message #353last month on GitHub