feat(windows): polish IDEA-inspired New UI - #204
Merged
1lck merged 23 commits intoAug 21, 2026
Conversation
Map lithe-dark/lithe-light colors to the IntelliJ New UI dark/light theme values (Gray/Blue ramp), invert the surface/background layering so panels sit above the editor area, switch list selection and hover toward the IDEA blue ramp, and reduce the global radius from 10px to 8px. Values sourced from intellij-community expUI theme JSONs.
Copy 91 Apache-2.0 SVGs (52 mapped icons, light/dark pairs, embedded copyright comments preserved) from the intellij-community platform icon set. The mapping list and deterministic generator with --check validation live under scripts/; asset URLs are emitted to src/ui/icons/idea-assets.generated.ts.
createIconComponent resolves mapped display names to dual light/dark asset instances; CSS toggles the active variant via data-theme-type so theme switches need no rerender. Unmapped exports keep the lucide fallback, IconProps stay unchanged, and weight/strokeWidth are no-ops for fixed-color assets.
…ntory Map 43 additional statically used icons to IntelliJ platform assets (188 SVGs total now vendored) and register every remaining used icon explicitly as a lucide fallback with a note, so the mapping file covers the full 194-icon usage inventory.
Asset icons previously rendered as a span+img pair, which button and chrome CSS sizing selectors ([&_svg]:size-*) did not match, shrinking sidebar and toolbar icons to the 13px font default. Render the dual light/dark variants as <image> children of a real svg root instead, so asset icons keep the exact lucide sizing contract.
Selected editor and terminal tabs now carry a 4px accent underline on the top edge over the editor background instead of a block highlight, unselected labels render at reduced alpha, and the tab strip shares the editor background with a 1px rule below it, matching the IntelliJ New UI editor tab treatment.
Selected activity rail buttons and sidebar list rows now use the blue selection fill token instead of a neutral gray block, and pane headers tighten from 44px to 36px, matching IntelliJ tool window chrome.
Tree rows render at the 13px chrome size like the IntelliJ project view, with the chrome radius on selection highlights.
Menu and context items render at the 13px chrome size with tighter row padding, and tooltips drop to the 12px caption size.
Copy 77 Apache-2.0 SVGs (40 definitions, light/dark pairs) from the intellij-community platform file type set into a new bundled idea-icons theme directory, with a mapping file and deterministic generator that emits the extension.json manifest and validates via --check.
Register the new theme in the bundled extension manifests and icon asset glob so it appears alongside lithe-icons in appearance settings.
…ws-idea-ui-polish
…ws-idea-ui-polish
yangboxuan726
marked this pull request as ready for review
August 20, 2026 12:27
1lck
reviewed
Aug 20, 2026
1lck
left a comment
Owner
There was a problem hiding this comment.
审查发现 1 个与有界 Java 语义识别要求冲突的资源边界问题,建议见 inline comment。
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
Scope
Verification
bun test— 228 passed, 0 failedbun run typecheckbun run lint— 0 errors (existing warnings remain)./scripts/verify-windows-boundaries.ps1./scripts/build-windows.ps1 -Configuration Releasecargo test --manifest-path windows/tauri/src-tauri/Cargo.toml— 69 passed, 0 failedhm-dianpingin zh-CN Dark, plus Light/Dracula theme checks and focused Project/editor/right-rail states