fix(theme): 调亮旧屏微光背景【已审核 PR】#966
Merged
ErlichLiu merged 1 commit intoJun 28, 2026
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.
概述
这个 PR 调整旧屏微光(
theme-terminal-dark)主题的背景亮度。现代界面布局中内容区会铺满主区域,原本偏暗的--content-area在新布局下显得整体发黑,因此将内容区和外壳渐变适度提亮,恢复更接近旧版 commit4bfc13b8424c245a6418e0184d852b927c704750的观感,同时保留当前布局和主题结构。改动
apps/electron/src/renderer/styles/globals.css— 将旧屏微光主题的--content-area从hsl(100 6% 3%)调整为hsl(100 6% 6%),降低现代布局下内容区过暗的问题。apps/electron/src/renderer/styles/globals.css— 将.theme-terminal-dark .shell-bg渐变从3%/5%调整为6%/7%,让窗口外壳背景和内容区亮度保持一致。apps/electron/src/renderer/styles/globals.css— 更新对应中文注释,说明该色值调整与现代布局铺满内容区有关。测试方法
git diff --check,确认 CSS diff 没有空白或格式问题。备注
tsc可执行文件,bun run typecheck无法完成,报错为tsc: command not found。