暗黑主题支持
程序猿视力下降严重,现在自己所用的大小屏幕我都是用暗黑主题了,希望能缓解视力下降的速度,望支持
Bot detected the issue body's language is not English, translate it automatically.
Title: dark theme support.
The programmer's eyesight is seriously declining. Now I use the dark theme on all the screens I use. I hope it can slow down the speed of vision loss. I hope to support
深色模式主题已经安排上了~
Bot detected the issue body's language is not English, translate it automatically.
The dark mode theme has been arranged~
深度模式主题已经安排上了~
请问更改了哪些文件呢,我要如何引用暗黑主题
Bot detected the issue body's language is not English, translate it automatically.
The depth mode theme has been arranged~
What files have been changed? How do I reference the dark theme?
@xnwln @Snnerney @opentiny/[email protected] 已支持深色模式。
// 引入深色模式样式文件
+ @import '@opentiny/vue-theme/dark-theme-index.css'
// html 标签中添加 class="dark"
- <html>
+ <html class="dark">
Bot detected the issue body's language is not English, translate it automatically.
@xnwln @Snnerney @opentiny/[email protected] Dark mode is supported.
// Introduce dark mode style files
+ @import '@opentiny/vue-theme/dark-theme-index.css'
// Add class="dark" to the html tag
- <html>
+ <html class="dark">