Repository navigation
fix(studio): make Badge identical to the prototype - #2212
Merged
Merged
Conversation
Status badges now colour their text with the status token (success, warning, info, destructive, and muted foreground for muted) instead of the default foreground, and the base classes, including the focus ring, match the design prototype (stacklok/mecatl-prototypes, stack/08-tooling) exactly. Variant names are unchanged. Refs #2201 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This was referenced Oct 9, 2026
Merged
2 tasks
2 of 11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #2201
Summary
Badgeis now identical to the design prototype's (stacklok/mecatl-prototypes,stack/08-tooling).text-foregroundtext-successtext-foregroundtext-warningtext-foregroundtext-infotext-foregroundtext-destructivetext-foregroundtext-muted-foregroundfocus:ring. Studio previously usedfocus-visible:.bg-<status>/15), the default, secondary and outline variants, and the variant names.Screenshots (before | after)
Component sheet with all variants, across the default, aztec, mono and solar palettes, in light and dark:

Settings providers

Scheduled

Learned skills

Chat approvals

Every surface, in light and dark (provider detail, storage, memory detail and consolidation, learning, schedule detail, learned skill detail, chat stop reason), is here.
The mock daemon returns empty data, so the BFF reads were stubbed in Playwright with fixtures shaped from
apps/contracts.Verification
task studio:lintandtask studio:typecheckpass.task studio:test: web 656 tests, server 182.task studio:browser: 54 Playwright journeys.Notes for review
approval-panel.tsxmisses names likeDeleteFileordelete_file, which get the warning badge. This was already the case; it is only visible now that the ink is coloured. It will be tracked separately.🤖 Generated with Claude Code