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

@@ -10,7 +10,10 @@ export const siteConfig: SiteConfig = {
title: 'Fuwari',
subtitle: 'Demo Site',
lang: 'en',
themeHue: 250,
themeColor: {
hue: 250, // Default hue for the theme color, from 0 to 360. e.g. red: 0, teal: 200, cyan: 250, pink: 345
fixed: false, // Hide the theme color picker for visitors
},
banner: {
enable: false,
src: 'assets/images/demo-banner.png',