Repository navigation
fix: 浅色主题下弹窗关闭按钮太淡 - #64
Merged
Merged
Conversation
关闭按钮用 Swal2 默认的 #ccc 压在白底上,只有 1.61:1,面板右上角 几乎看不见。改成 #8b8e93(3.29:1),深色主题本来就是同一个值,行为不变。
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.
现象
浅色主题下,下载面板和设置弹窗右上角的关闭 × 用 Swal2 默认的
#ccc,压在白底上只有 1.61:1,整页看基本是「若隐若现」,而allowOutsideClick: false时它是唯一的鼠标关闭入口。改动
一行 CSS,放在 swal2 相关规则里。深色主题原本就用
#8b8e93(在#1d1e1f上是 5.08:1),所以两套主题现在同一个值,深色行为不变。验证
真机实测(阿里文件页,1280×800):
#ccc/ 1.61:1#8b8e93/ 3.29:1#8b8e93/ 5.08:1#ccc/ 1.78:1#8b8e93/ 3.29:1harness/run_all.sh失败 0 项,node --checkOK。@version未改,合并不会触发发版。