feat: add color scheme switcher

This commit is contained in:
Erzbir
2026-07-09 02:39:11 +08:00
parent 4faf58f7af
commit a84286ca09
5 changed files with 315 additions and 10 deletions
+5
View File
@@ -210,6 +210,11 @@ spec:
value: "light"
- label: "跟随系统"
value: "system"
- $formkit: checkbox
name: color_scheme_switcher_enable
label: 启用访客配色切换
value: false
help: 开启后在页头显示配色选择下拉框
- $formkit: select
name: dark_color_scheme
id: dark_color_scheme