Skip to content

feat(ui): Chip takes the comp's tag shape — near-square, tonal accent/neutral/outline #978

Closed

Description

@thinkclay

Finding

The comp's chip is .tag: 11px, padding: 3px 10px, radius calc(4 * .75) ≈ 3, tonal accent-100 on accent-800, plus .tag-outline (1px accent border, accent text) and .tag-neutral. Ours is a full pill — borderRadius.max (packages/ui/src/components/Chip/Chip.styles.ts:15) — 24/28/32 tall, with the selected state a solid gray[900] fill (:111-114).

Change

Radius to borderRadius.xxs; add tone="accent" | "neutral" | "outline"; selected = tonal, not a solid fill. Then the three places that hand-roll a count tag (the drawer's Notifications row and collapsed count, MobileAccountSheet's badge) use it.

Acceptance

  • Chip stories show the three tones in light and dark.
  • MobileAccountSheet badge is the accent tag, not a teal borderRadius: 999 pill (MobileAccountSheet.tsx, the notifications row).
  • Scaffald/ui PR + pointer bump.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrontendUXagent-readyredesign

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions