chore: add auto option for theme colors

This commit is contained in:
radishzzz 2025-04-06 03:10:28 +01:00
parent 88a3a9f46b
commit 21ae80e27d
4 changed files with 6 additions and 7 deletions

View file

@ -25,7 +25,7 @@ site: {
// site description
description: 'Retypeset is a static blog theme...'
// use i18n title/subtitle/description from src/i18n/ui.ts instead of static ones above
i18nTitle: true // light, dark, auto
i18nTitle: true // true, false
// author name
author: 'radishzz'
// site url
@ -41,7 +41,7 @@ site: {
```ts
color: {
// default theme mode
mode: 'light' // light, dark
mode: 'light' // light, dark, auto
// light mode
light: {
// primary color