草稿:对齐 IDEA Community 工作台外框、主题色与活动栏图标 - #909
Draft
arkleselect wants to merge 3 commits into
Draft
arkleselect wants to merge 3 commits into
arkleselect wants to merge 3 commits into
Conversation
This branch has not been deployed
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.
本次改动
这是 macOS 工作台外观对齐 IDEA Community 的草稿实验,保留 Lithe 自身的 SwiftUI 组件和交互实现。
调整深色 Lithe 主题的工作台外框渐变、工具窗背景、分隔区和圆角,使顶部、左右活动栏及面板间隙呈现连续的框架质感;设置背景图片时继续使用图片对应的透明处理。
统一工具栏选中色、未选中图标颜色、约 9% 白色的悬停背景,以及设置窗口和弹窗主按钮的主题强调色;活动栏按钮悬停保持默认箭头光标。
将左右活动栏的按钮槽、选中块和图标尺寸对齐到本次 IDEA 样式实验,并替换为 IntelliJ Community 开源 SVG。新增 28 个明暗资源文件,覆盖项目、提交、搜索、通知、插件、终端、运行、调试等入口;Database 使用 Community 的 Data View 图标,资源来源与 Apache 2.0 说明见
macos/Resources/IDEAIcons/NOTICE.txt。将左侧工具窗拖动下限从 220pt 调整为 30pt,并在最终宽度处裁剪面板内容,允许像 IDEA 一样收至较窄宽度后再展开;同时修复拖到 30pt 时内容越界遮挡活动栏与分割区的问题,右侧工具窗采用相同修复。
更新跨平台功能矩阵及生成的 Markdown、CSV 视图,记录待做的实机验证。
修复窄侧栏圆角回归:侧栏拖窄时让右上、右下圆角按实际可见宽度绘制;右侧工具窗使用相同布局处理,并保留其靠右对齐。
验证
preview,保留新合入的活动栏悬停提示功能;重叠区域的 27 个定向 macOS 测试通过。./scripts/verify-platform-feature-matrix.sh和git diff --check通过。./scripts/verify-service-boundaries.sh报AppModel+RunConfiguration.swift为 663 行;preview基线中的同一文件也是 663 行,本 PR 未修改它。