feat: option to control whether site visitors can change the theme color (#28)

* chore: rebase onto main branch

* fix: rename the option

---------

Co-authored-by: saicaca <zephyird@gmail.com>
This commit is contained in:
librarian
2024-05-01 13:14:15 +09:00
committed by GitHub
parent 9d82d25feb
commit 9761ed75c5
5 changed files with 21 additions and 11 deletions

View File

@@ -4,7 +4,10 @@ export type SiteConfig = {
lang: string
themeHue: number
themeColor: {
hue: number
fixed: boolean
}
banner: {
enable: boolean
src: string