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: {
// основной цвет