Repository navigation
fix(ui): 修复图片查看器交互状态与头像主题对比度 - #633
Merged
shanyuhai123 merged 1 commit intoNov 14, 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.
背景与关联 / Context and related issue
quaternary模式时覆盖了普通按钮的状态字段,实际悬停、按下与焦点背景仍继承应用主题,浅色主题下会出现浅底白字。加载圈、切图箭头与字母头像也存在相邻的对比度风险。主要改动 / Changes
colorQuaternaryHover和colorQuaternaryPressed覆盖查看器按钮的交互背景;Naive UI 的 quaternary 焦点背景复用 hover 字段,文字各状态统一沿用浮层前景色。--buddy-text-on-accent,避免主题强调色变化后仍写死白色文字。验证 / Verification
git diff --check通过;核对 Naive UI 2.45.3 的 quaternary 状态字段读取逻辑。此次仅调整样式,未新增镜像实现的测试。兼容与风险 / Compatibility and risks
界面变更 / UI changes