Skip to content

Add semantic badges - #176

Merged
MaggieAppleton merged 2 commits into
mainfrom
maggie/visual-foundations-08-badge
Sep 24, 2026
Merged

MaggieAppleton merged 2 commits into
mainfrom
maggie/visual-foundations-08-badge

Conversation

@MaggieAppleton

@MaggieAppleton MaggieAppleton commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • add a static semantic Badge primitive composed from IconLabel
  • preserve visible text and decorative-icon accessibility across four tones
  • add compact pill styling and four-tone design-audit coverage
  • tune badge padding to 4/10/4/8 px, icon to 16 px, and icon–text gap to 4 px

Scope

Badge only. Motion/state APIs, callouts, metric deltas, tooltips, and product adoption remain separate.

Stack

Verification

  • badge update: 6 focused tests pass; browser confirms selected dimensions
  • focused tests: 41 pass
  • bun test: 1,502 pass, 2 PostgreSQL skips, 0 fail
  • bun run types
  • bun run ci
  • bun run build
  • git diff --check

Component preview

Updated neutral, success, warning, and danger badges

@MaggieAppleton
MaggieAppleton force-pushed the maggie/visual-foundations-08-badge branch from 0c200e3 to 0fc09c5 Compare September 24, 2026 13:46
@MaggieAppleton
MaggieAppleton added this pull request to stack #175 September 24, 2026 14:07
@MaggieAppleton
MaggieAppleton force-pushed the maggie/visual-foundations-08-badge branch from 0fc09c5 to 63927f2 Compare September 24, 2026 14:12
Base automatically changed from maggie/visual-foundations-07-progress-bar to main September 24, 2026 16:11
@MaggieAppleton
MaggieAppleton force-pushed the maggie/visual-foundations-08-badge branch from 63927f2 to 748c098 Compare September 24, 2026 16:11
@MaggieAppleton
MaggieAppleton merged commit 765cbf7 into main Sep 24, 2026
3 checks passed
@MaggieAppleton
MaggieAppleton deleted the maggie/visual-foundations-08-badge branch September 24, 2026 16:52
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.

1 participant