Skip to content

feat(badge): add an archived variant and a brand-orange token - #128

Closed
tmccoy14 wants to merge 1 commit into
mainfrom
feat/badge-archived-variant
Closed

feat(badge): add an archived variant and a brand-orange token#128
tmccoy14 wants to merge 1 commit into
mainfrom
feat/badge-archived-variant

Conversation

@tmccoy14

@tmccoy14 tmccoy14 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Archived is a lifecycle state consumers were painting by hand — Guardian Studio carried a bg-orange-400/20! text-orange-400! override on Badge because no variant covered it.

Badge/Background/Archived and Badge/Text/Archived alias the Orange ramp with the same 200/700/800 recipe every other badge variant uses, so the pill inverts correctly between themes. Brand/Orange is a new colorItem at #FB923C, giving status dots and archive banners a token to resolve against rather than a raw Tailwind value.

Archived shares its orange with ControlStatusBadge's In Progress. The two describe different things and are not expected to share a view, so the docs tell consumers to lean on the icon and label rather than colour alone. The variant defaults to the Archive glyph, matching how success, warning and danger supply their own.

Archived is a lifecycle state consumers were painting by hand — Guardian
Studio carried a `bg-orange-400/20! text-orange-400!` override on Badge
because no variant covered it.

`Badge/Background/Archived` and `Badge/Text/Archived` alias the Orange ramp
with the same 200/700/800 recipe every other badge variant uses, so the pill
inverts correctly between themes. `Brand/Orange` is a new colorItem at
#FB923C, giving status dots and archive banners a token to resolve against
rather than a raw Tailwind value.

Archived shares its orange with ControlStatusBadge's In Progress. The two
describe different things and are not expected to share a view, so the docs
tell consumers to lean on the icon and label rather than colour alone. The
variant defaults to the `Archive` glyph, matching how success, warning and
danger supply their own.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@tmccoy14

tmccoy14 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #129. After talking it through with Henry, archived isn't its own attention level — under "variants communicate how the user should pay attention to a thing" it's warning where the consequence matters in context and neutral grey where it doesn't. So no archived Badge variant and no brand-orange token; #129 adds the warning Button variant and the text-warning token instead.

@tmccoy14 tmccoy14 closed this Sep 2, 2026
@tmccoy14
tmccoy14 deleted the feat/badge-archived-variant branch September 2, 2026 15:25
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