mirror of
https://github.com/halo-dev/theme-earth.git
synced 2025-10-25 04:05:51 +00:00
feat: add setup color scheme support
This commit is contained in:
@@ -67,6 +67,26 @@ spec:
|
||||
- label: 隐藏
|
||||
value: false
|
||||
|
||||
- group: style
|
||||
label: 样式
|
||||
formSchema:
|
||||
- $formkit: radio
|
||||
name: color_scheme
|
||||
label: 默认配色
|
||||
value: system
|
||||
options:
|
||||
- label: 跟随系统
|
||||
value: system
|
||||
- label: 深色
|
||||
value: dark
|
||||
- label: 浅色
|
||||
value: light
|
||||
|
||||
- $formkit: checkbox
|
||||
name: enable_change_color_scheme
|
||||
label: 允许访客切换配色
|
||||
value: true
|
||||
|
||||
- group: sidebar
|
||||
label: 侧边栏
|
||||
formSchema:
|
||||
|
||||
Reference in New Issue
Block a user