Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

深色模式下部分显示的字体颜色有问题 #201

Open
Daodanfd5 opened this issue Dec 4, 2024 · 4 comments
Open

深色模式下部分显示的字体颜色有问题 #201

Daodanfd5 opened this issue Dec 4, 2024 · 4 comments
Assignees
Labels
问题修复 请提出你在使用中的BUG与问题

Comments

@Daodanfd5
Copy link
Collaborator

image
image
image
image

直接切换到深色模式有部分字体颜色不会变化:
复现流程:

  1. 安装Github最新版本
  2. 打开baas
  3. 点击设置页面
  4. 在图形用户界面-应用主题勾选深色/使用系统设置(我的系统是深色模式)
  5. 将配置界面模式切换至List后,配置的所有内容的(label?)都是适配浅色模式的字体

建议:
在深色模式下字体颜色改为#E0E0E0(亮度224)避免显示纯白色字体太过刺眼

@Daodanfd5 Daodanfd5 added the 问题修复 请提出你在使用中的BUG与问题 label Dec 4, 2024
@Kiramei
Copy link
Collaborator

Kiramei commented Dec 5, 2024

我之前在windows下也发现了这个问题,我查阅了大量代码也找不到这个问题的解决方案。后来在linux上开发的时候,这个问题又不复存在。有可能跟平台有一点关系?

@Daodanfd5
Copy link
Collaborator Author

那要不要针对系统单独优化或者是其他方式?或者将字体颜色修改为系统主题色?https://qfluentwidgets.com/zh/pages/theme/#%E7%B3%BB%E7%BB%9F%E4%B8%BB%E9%A2%98%E8%89%B2

@Kiramei
Copy link
Collaborator

Kiramei commented Dec 5, 2024

你可以认为所有组件在调用了这个setTheme(你改变那个选项的时候就会调用的方法)方法后都会自调用自己的颜色调整方法,但是有一些没有命中而是被miss了。而现在我无法找到这个miss的原因。

@Daodanfd5
Copy link
Collaborator Author

有点麻烦,又不是不能用 不修了(x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
问题修复 请提出你在使用中的BUG与问题
Projects
None yet
Development

No branches or pull requests

3 participants