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

添加双链的结果阅读问题 #110

Open
poricaihong opened this issue Sep 1, 2024 · 1 comment
Open

添加双链的结果阅读问题 #110

poricaihong opened this issue Sep 1, 2024 · 1 comment

Comments

@poricaihong
Copy link

感谢作者提供了这么便捷的一个功能,很快捷。不过现在在暗模式下的双链结果很难读,因为背景和字体都是白色,希望背景也能随系统改成暗色。

@zzlb0224
Copy link
Owner

zzlb0224 commented Sep 1, 2024

好的,改成根据isDark使用不一样的背景色。
const isDark = window.matchMedia('(prefers-color-scheme: dark)').matches;

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

2 participants