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

希望出一个功能,无论网页是否为暗色,都让代码块永远是暗色 #1166

Closed
changelzj opened this issue Jan 9, 2025 · 2 comments
Labels
✨ enhancement New feature request

Comments

@changelzj
Copy link

如果要实现这个效果,该怎样用css或js实现呢

@changelzj changelzj added the ✨ enhancement New feature request label Jan 9, 2025
@zkqiang
Copy link
Member

zkqiang commented Feb 12, 2025

style: "github gist"
style_dark: "dark"

这两个都填暗色配色就行了

@zkqiang zkqiang closed this as completed Feb 12, 2025
@changelzj
Copy link
Author

但是背景还是白色,不过也有办法,找到样式都改成黑色,代码风格都改成tommorrow light,感谢作者大大给的思路哈,这里确实建议在完善完善。

Image

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

No branches or pull requests

2 participants