feat(desktop): Mica 开启时主内容区半透明底色#101
Merged
Merged
Conversation
集中主内容区、浏览器页槽、终端与工作区 tab 在原生模糊开启时的 tint class 工具,并补充单元测试。
会话、设置、市场与自动化主 layout shell 在原生模糊开启时改用 tint/inner 分层,避免多层实心背景挡住系统材质。
子视图与 WorkspaceToolsDock 透传 useMicaBackdrop,内层与面板改用 tint 工具,浏览器页槽使用略高不透明度。
压缩演示横幅与 composer 底栏垫层在 Mica 下透明;集成终端保留较高不透明度以保证 ANSI 可读性。
主内容区、浏览器页槽、终端与工作区 tab 的 tint 不透明度上调,并集中为常量便于后续微调。
layout-chrome 与内容区分层铺 tint,修复 macOS 拖拽区实心黑条;市场详情返回横条去掉额外实色层;工作区占比滑条补齐与主区一致的可读性透明度。
N123999
added a commit
that referenced
this pull request
Jul 1, 2026
feat(desktop): Mica 开启时主内容区半透明底色
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
bg-background半透明 tint(不叠加 CSS backdrop-blur),透出系统材质并保持可读性。desktop-mica-surface工具与单元测试;顶栏layout-chrome、市场详情返回横条、工作区占比滑条与主内容区 tint 分层一致,避免 macOS 拖拽区实心黑条与滑条透底。Test plan
npm run test:lib(含desktop-mica-surface.test.mjs)npx tsc --noEmitnpm run dev:web无回归(useMicaBackdrop恒 false)