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

黑暗模式的支持 #101

Open
WayneFerdon opened this issue Nov 29, 2023 · 3 comments
Open

黑暗模式的支持 #101

WayneFerdon opened this issue Nov 29, 2023 · 3 comments

Comments

@WayneFerdon
Copy link

能否增加一下黑暗模式的支持,我的Chrome开了force dark mode,这种情况下一些字体变成白色的了,然后背景也是白色的,而且文字也无法选中(如下图)
image

@SAPikachu
Copy link
Owner

不好意思,目前因为各种原因暂时没有计划支持 dark mode ,不过如果能提供 PR 的话我也可以看一下。

@Zirpon
Copy link

Zirpon commented Dec 1, 2023

有个Chrome插件叫 dark reader 可以搜搜看

@WayneFerdon
Copy link
Author

WayneFerdon commented Dec 5, 2023

看了一下改起来貌似比较麻烦,主要是没有办法判断Chrome是否开启了AutoDarkMode
但是css里给body加个color-scheme: only light;的话,只要不是系统开浅色+Chrome开AutoDarkMode就都没问题了(应该也没人会这样吧...),起码能保证看得清文字
image
不过这个就没必要专门PR了,搞个油猴插件也就相当于一行的事(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants