fix(settings): add visible background to log file path display#650
Merged
XingYu-Zhong merged 1 commit intoJun 30, 2026
Merged
Conversation
XingYu-Zhong
approved these changes
Jun 30, 2026
XingYu-Zhong
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed locally; no blocking issues found.
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-ds-main/70实际等于应用背景色var(--bg-app),70% 透明度后几乎与卡片背景融为一体,底色看不出来;文字又是偏淡的text-ds-muted,整体缺乏层次。Changes
src/renderer/src/components/settings-section-general.tsx:调整日志路径<code>的 className,参考设置页其他路径/代码块显示(worktree pool dir、write inline completion debug log):border border-ds-border-muted,让底色区域有清晰边界text-ds-muted→text-ds-ink,更深更清晰shadow-sm,统一用边框界定区域/70→/60,与 worktree 风格协调Tests
vitest因依赖未安装无法运行(环境基线问题,与本次改动无关)