Skip to content

docs: align button spec with the shipped styles - #1058

Merged
spashii merged 1 commit into
mainfrom
docs/button-drift-fix
Sep 11, 2026
Merged

docs: align button spec with the shipped styles#1058
spashii merged 1 commit into
mainfrom
docs/button-drift-fix

Conversation

@JorimTheuns

Copy link
Copy Markdown
Member

The button rules live in four places. Two of them had drifted from what the frontend actually ships.

What was wrong

Shape. brand/STYLE_GUIDE.md described the primary button as "rounded corners". button.module.css gives variant="filled" a border-radius: 9999px pill, and explicitly keeps outline and subtle on standard corners. The pill is the signal that marks the primary action, so the guide now says so.

Disabled state. The guide specified a Parchment background with Graphite text at 50% opacity. The code uses a gray fill with Graphite text at full opacity (opacity: 1 is set deliberately so the label stays readable), plus a 1px Golden Pollen border on hover and Cotton Candy on click. The guide now matches.

Dead links. Every relative link in docs/style-guides/frontend_button_design_system.md was broken, left over from when the file sat in frontend/docs/. They pointed at ../src/colors.ts and friends, and one pointed at a COPY_GUIDE.md that does not exist. All of them now resolve, and the copy guidance points at brand/STYLE_GUIDE.md where it actually lives.

What was left alone

frontend_button_design_system.md calls #4169E1 "Institution Blue" while everything else calls it Royal Blue. Same hex, deliberately left as is.

Docs only. No code changes.

🤖 Generated with Claude Code

The brand style guide described a button system the frontend stopped
matching. It called the primary button "rounded corners" when the theme
ships it fully pill-shaped, and specified a Parchment disabled state at
50% opacity when the code uses a gray fill at full opacity with Golden
Pollen and Cotton Candy borders on hover and click.

Also repoints the stale relative links in the button design system doc,
which broke when that file moved out of frontend/docs. Every link in it
now resolves.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@spashii
spashii added this pull request to the merge queue Sep 11, 2026
Merged via the queue into main with commit 1cca301 Sep 11, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants