fix(color): adopt ui 0.5.0 semantic tokens, fold accents to Mind Green - #18
Merged
Conversation
Bumps @mind-studio/ui to ^0.5.0 and consumes its new semantic state tokens so the shell stops hand-picking raw palette colors: - success/warning/error states: emerald-*/amber-*/red-* palette classes → text-success / bg-warning/10 / text-destructive (the tokens adapt per mode, so the bespoke `dark:` variants are dropped). - Per-app identity accents fold to the single brand green: the WidgetTile header tint and wallet's balance accent already use var(--primary); the opaque-origin widget iframe bodies (which can't read CSS vars) move from per-app hex to the Mind Green literal #16b88a, matching their now-green tiles. Wallet's amber atmosphere bloom and doc comments follow. Categorical colors that aren't brand accents are left as-is (the wallet positive-delta GREEN, etc.). Typecheck + Biome clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What & why
@mind-studio/ui@0.5.0added semantic state tokens (success/warning/error/info). This bumps the shell to^0.5.0and adopts them, completing the fleet color-alignment to Mind Green as the single brand accent (Option C).Changes
Semantic states → tokens (no token existed before, so these were raw palette classes):
text-emerald-*→text-success,bg-emerald-*/n→bg-success/n(vault breach check, identity verdicts, wallet positive gains)text-amber-*→text-warning, banners →border-warning/50 bg-warning/10 text-warning(prototype notices, provider warnings, workspace rail)text-red-*→text-destructive(settings form error)dark:colour variants are dropped.Per-app accents → Mind Green:
WidgetTileheader tint and wallet balance accent already usevar(--primary).#f59e0b/#ec4899/#14b8a6/#f97316/#6366f1) → the Mind Green literal#16b88a, matching their now-green tiles.Left as-is (categorical, not brand accents): the wallet positive-delta
GREEN, etc.Verification
tsc --noEmitclean against the installed0.5.0(new tokens present in itsdist).🤖 Generated with Claude Code