fix(ui): 新任务 compose icon in both sidebar states + warning tone splits from info - #697
Merged
Merged
Conversation
…one splits from info - Maintainer: the expanded sidebar row (Plus since #662) and the collapsed topbar compose button (SquarePen) showed different icons for the same action — unified on SquarePen, the collapsed one, per instruction. icon-governance contract re-pinned. - Found while sweeping 健康: --warning was literally var(--info) — the 提示 and 警告 tiers rendered the same amber and could not be told apart. Warning now steps deeper + more orange (l .75→.66, h 70→55) with its own --warning-text mix; info keeps its amber. CDP capture confirms the two tiers finally read differently. Desktop 2296/2296.
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.
Two fixes:
lucide-square-penon the row.--warningwas literallyvar(--info)— the health page's info and warning tiers rendered the identical amber. Warning now steps deeper and more orange (oklch .66/.18/55 vs info's .75/.16/70) with its own --warning-text mix. Health capture confirms the tiers are finally distinguishable; all palettes inherit since none overrode --warning.Desktop 2296/2296 exit-code gated.