界面:新增四套磨砂玻璃主题并统一斜杠菜单 - #268
Merged
Merged
Conversation
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.
目标
保留原四套纸质主题与晴璃、夜璃;修正晴璃、夜璃斜杠菜单配色,并把改动前两套斜杠菜单的视觉扩展为雾璃、玄璃两套完整新主题,共八个主题。
共享文件占用
Sources/WeiBei/Support/Theme.swift:八主题语义、玻璃调色板与系统背后取样材质。Sources/WeiBei/App/WeiBeiApp.swift:玻璃主题窗口透明配置。Sources/WeiBei/Views/ContentView.swift:整窗连续材质、前后台层级隔离。负责人任务:
codex/glass-themes。预计释放条件:用户完成四套玻璃主题最终观感验收。
已实现
NSVisualEffectView背后取样,不增加依赖或自制模糊引擎。未做
验证
swift build --product WeiBei:通过。npm run typecheck:editor:通过。npm run test:editor:17/17 通过。node script/build_editor.mjs --check:通过。swift run WeiBeiWebEditorCheck:通过,锁定四套玻璃菜单的透明度、10px 局部模糊、文字、选中态和新主题原始菜单色值。git diff --check:通过。2150acf8b30711d9269643ec13ce72533a5c1e7d,WeiBeiSourceDirty=false,production_hygiene=clean。