style: improve UI readability and fix sidebar toggle#4
Merged
rogerdigital merged 1 commit intomainfrom Apr 14, 2026
Merged
Conversation
- Raise text contrast: --text #b8cde8→#d8eaf8, --muted opacity 0.65→0.82, --muted-strong opacity 0.82→0.95 to meet WCAG AA across the board - Lift panel backgrounds: --panel #04091a→#091224, --panel-2/3 in proportion, creating clearer three-level depth separation from the canvas - Strengthen border visibility: --line opacity 0.10→0.22, --line-strong 0.24→0.40 - Promote muted→muted-strong on secondary labels (eyebrow, tile-label, toolbar-kicker, metric spans, log-copy, th headers, etc.) - Add Chinese font fallbacks: PingFang SC / Noto Sans SC / Microsoft YaHei on --font-display and --font-ui to prevent CJK text falling back to monospace - Enable antialiased font rendering on body - Fix sidebar toggle button clipped by overflow:hidden: change sidebar to overflow:visible and raise sidebarToggle z-index 10→50 (above globalToolbar z:40) - Sync all hardcoded rgba background values in ConsoleChrome.css.ts, layout.css.ts, panels.css.ts and tables.css.ts to the new palette
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.
Summary
--text/--muted/--muted-strong三级色值全面调亮,主体文字对比度达到 WCAG AA 标准--panel整体上移),边框可见度提升约 2x(--lineopacity 0.10→0.22)--muted升为--muted-strongoverflow: hidden → visible,sidebarTogglez-index: 10 → 50ConsoleChrome.css.ts中硬编码的旧背景色值Test plan
npm run verify全部通过(134 API + 20 Worker + 62 Web 测试,typecheck,build)