File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1515 window . Buffer = { }
1616 window . process = { env : { } }
1717 ; ( function ( ) {
18- const prefersDark =
19- window . matchMedia &&
20- window . matchMedia ( '(prefers-color-scheme: dark)' ) . matches
21- const setting = localStorage . getItem ( 'color-schema' ) || 'auto'
18+ const prefersDark = 'light'
2219 if ( setting === 'dark' || ( prefersDark && setting !== 'light' ) )
2320 document . documentElement . classList . toggle ( 'dark' , true )
2421 } ) ( )
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const messages = {
3434 href="https://github.com/Simon-He95/transformToUnocss"
3535 target="_blank"
3636 ><b>transform-to-unocss</b></a>查看现在支持的属性,进行体验。
37- <div>已有vite插件和cli版本 ~</div>` ,
37+ <div>已有 vite 插件和 cli 版本 ~</div>` ,
3838 inputs : '输入:' ,
3939 outputs : '输出:' ,
4040 render : '渲染:' ,
You can’t perform that action at this time.
0 commit comments