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

[Bug]: 黑暗模式下很多东西都看不清楚 #51

Closed
2 tasks done
w0330t opened this issue Nov 27, 2022 · 4 comments · Fixed by #82
Closed
2 tasks done

[Bug]: 黑暗模式下很多东西都看不清楚 #51

w0330t opened this issue Nov 27, 2022 · 4 comments · Fixed by #82
Assignees
Labels
bug Something isn't working

Comments

@w0330t
Copy link

w0330t commented Nov 27, 2022

Bug Description

黑暗模式下很多东西都看不清楚,比如我打开WIKI的这个页面,数学符号是神马完全看不到,还有B站的视频,在网页全屏模式下下面的按钮全部都看不到了。

Relevant Screenshot

image
image

To Reproduce

打开上述任意页面即可复现

Obsidian Version

0.3.0

web-browser-only

  • Did you install only one web browser plugin?

Checklist

  • I updated to the latest version of the plugin.
@w0330t w0330t added the bug Something isn't working label Nov 27, 2022
@Quorafind
Copy link
Collaborator

@windily-cloud 你这边方便看看调试一下这方面的问题吗?

@windily-cloud
Copy link
Member

@windily-cloud 你这边方便看看调试一下这方面的问题吗?

这个我没啥好办法,这种问题一定会存在的,因为不同网站的html和css结构都不一样。目前适配得最好的就是darkreader,但依然有不少网站有问题。

我觉得提供一个切换黑暗模式或者只给某些特定网站适配就好,你们觉得呢?

@cumany
Copy link

cumany commented Nov 27, 2022

有道理 目前插件只针对 body 里 有background-color 的网站进行调整 确实有很多网站不匹配。
建议:
可以加个切换黑暗模式的命令 和一个设置项,

  • 命令:用来手动设置网站明暗,也就是调用设置项的第三项。
  • 设置项:
    • 默认(不做调整)
    • 根据主题明暗自适应(根据主题暗色,设置网站暗色,希望对body 没有background的网站也能生效)
    • 暗色(强制暗色模式)

@luckyfatpig
Copy link

暗黑主题下bilibili的视频会变色

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants