Optimize the logic for switching between light and dark modes

This commit is contained in:
kakomonn 2025-04-05 17:35:28 +08:00
parent abdcd76a80
commit 88a3a9f46b
9 changed files with 13 additions and 10 deletions

View file

@ -41,7 +41,7 @@ site: {
```ts
color: {
// 默认主题
mode: 'light' // light, dark
mode: 'light' // light, dark, auto
// 亮色模式
light: {
// 高亮颜色