chore: adjust order
This commit is contained in:
+49
-49
@@ -47,7 +47,7 @@ spec:
|
|||||||
label: 默认像素化风格
|
label: 默认像素化风格
|
||||||
value: false
|
value: false
|
||||||
help: 开启后将默认使用像素风格字体及图标
|
help: 开启后将默认使用像素风格字体及图标
|
||||||
|
|
||||||
- $formkit: checkbox
|
- $formkit: checkbox
|
||||||
label: 使用系统字体
|
label: 使用系统字体
|
||||||
name: system_font_enable
|
name: system_font_enable
|
||||||
@@ -61,7 +61,7 @@ spec:
|
|||||||
id: custom_font_enable
|
id: custom_font_enable
|
||||||
label: 启用自定义字体文件
|
label: 启用自定义字体文件
|
||||||
value: false
|
value: false
|
||||||
help: '如果启用 "使用系统字体", 此配置项不生效'
|
help: '如果启用 "使用系统字体", 此配置项不生效'
|
||||||
|
|
||||||
- $formkit: array
|
- $formkit: array
|
||||||
if: "$get(custom_font_enable).value === true"
|
if: "$get(custom_font_enable).value === true"
|
||||||
@@ -79,7 +79,7 @@ spec:
|
|||||||
label: 字体名称
|
label: 字体名称
|
||||||
placeholder: "JetBrains Mono"
|
placeholder: "JetBrains Mono"
|
||||||
validation: "required"
|
validation: "required"
|
||||||
|
|
||||||
- $formkit: attachment
|
- $formkit: attachment
|
||||||
name: file
|
name: file
|
||||||
label: 自定义字体文件
|
label: 自定义字体文件
|
||||||
@@ -99,65 +99,25 @@ spec:
|
|||||||
value: truetype
|
value: truetype
|
||||||
- label: OpenType
|
- label: OpenType
|
||||||
value: opentype
|
value: opentype
|
||||||
|
|
||||||
- $formkit: checkbox
|
- $formkit: checkbox
|
||||||
name: color_scheme_switcher_enable
|
name: color_scheme_switcher_enable
|
||||||
label: 启用访客配色切换
|
label: 启用访客配色切换
|
||||||
value: false
|
value: false
|
||||||
help: 开启后在页头显示配色选择下拉框
|
help: 开启后在页头显示配色选择下拉框
|
||||||
|
|
||||||
- $formkit: select
|
- $formkit: select
|
||||||
name: default_scheme_mode
|
name: default_scheme_mode
|
||||||
label: 默认配色方案
|
label: 默认配色方案
|
||||||
value: "dark"
|
value: "light"
|
||||||
help: 控制访客首次访问时使用的配色模式
|
help: 控制访客首次访问时使用的配色模式
|
||||||
options:
|
options:
|
||||||
- label: "深色"
|
|
||||||
value: "dark"
|
|
||||||
- label: "浅色"
|
- label: "浅色"
|
||||||
value: "light"
|
value: "light"
|
||||||
|
- label: "深色"
|
||||||
|
value: "dark"
|
||||||
- label: "跟随系统"
|
- label: "跟随系统"
|
||||||
value: "system"
|
value: "system"
|
||||||
- $formkit: select
|
|
||||||
name: dark_color_scheme
|
|
||||||
id: dark_color_scheme
|
|
||||||
label: 深色配色方案
|
|
||||||
value: "night"
|
|
||||||
help: 控制深色模式使用的配色方案
|
|
||||||
options:
|
|
||||||
- label: "custom"
|
|
||||||
value: "custom"
|
|
||||||
- label: "day"
|
|
||||||
value: "day"
|
|
||||||
- label: "night"
|
|
||||||
value: "night"
|
|
||||||
- label: "blood"
|
|
||||||
value: "blood"
|
|
||||||
- label: "niello"
|
|
||||||
value: "niello"
|
|
||||||
- label: "matrix"
|
|
||||||
value: "matrix"
|
|
||||||
- label: "ink"
|
|
||||||
value: "ink"
|
|
||||||
- label: "paper"
|
|
||||||
value: "paper"
|
|
||||||
- label: "hopbush"
|
|
||||||
value: "hopbush"
|
|
||||||
- label: "pistachio"
|
|
||||||
value: "pistachio"
|
|
||||||
- label: "blue"
|
|
||||||
value: "blue"
|
|
||||||
- label: "studio"
|
|
||||||
value: "studio"
|
|
||||||
- label: "vanilla"
|
|
||||||
value: "vanilla"
|
|
||||||
|
|
||||||
- $formkit: text
|
|
||||||
name: custom_dark_scheme
|
|
||||||
if: "$get(dark_color_scheme).value === 'custom'"
|
|
||||||
label: 自定义深色配色
|
|
||||||
help: 填写下方自定义配色的 ID
|
|
||||||
validation: "required"
|
|
||||||
|
|
||||||
- $formkit: select
|
- $formkit: select
|
||||||
name: light_color_scheme
|
name: light_color_scheme
|
||||||
@@ -199,6 +159,46 @@ spec:
|
|||||||
help: 填写下方自定义配色的 ID
|
help: 填写下方自定义配色的 ID
|
||||||
validation: "required"
|
validation: "required"
|
||||||
|
|
||||||
|
- $formkit: select
|
||||||
|
name: dark_color_scheme
|
||||||
|
id: dark_color_scheme
|
||||||
|
label: 深色配色方案
|
||||||
|
value: "night"
|
||||||
|
help: 控制深色模式使用的配色方案
|
||||||
|
options:
|
||||||
|
- label: "custom"
|
||||||
|
value: "custom"
|
||||||
|
- label: "day"
|
||||||
|
value: "day"
|
||||||
|
- label: "night"
|
||||||
|
value: "night"
|
||||||
|
- label: "blood"
|
||||||
|
value: "blood"
|
||||||
|
- label: "niello"
|
||||||
|
value: "niello"
|
||||||
|
- label: "matrix"
|
||||||
|
value: "matrix"
|
||||||
|
- label: "ink"
|
||||||
|
value: "ink"
|
||||||
|
- label: "paper"
|
||||||
|
value: "paper"
|
||||||
|
- label: "hopbush"
|
||||||
|
value: "hopbush"
|
||||||
|
- label: "pistachio"
|
||||||
|
value: "pistachio"
|
||||||
|
- label: "blue"
|
||||||
|
value: "blue"
|
||||||
|
- label: "studio"
|
||||||
|
value: "studio"
|
||||||
|
- label: "vanilla"
|
||||||
|
value: "vanilla"
|
||||||
|
- $formkit: text
|
||||||
|
name: custom_dark_scheme
|
||||||
|
if: "$get(dark_color_scheme).value === 'custom'"
|
||||||
|
label: 自定义深色配色
|
||||||
|
help: 填写下方自定义配色的 ID
|
||||||
|
validation: "required"
|
||||||
|
|
||||||
- $formkit: array
|
- $formkit: array
|
||||||
name: custom_color_schemes
|
name: custom_color_schemes
|
||||||
label: 自定义配色
|
label: 自定义配色
|
||||||
@@ -569,7 +569,7 @@ spec:
|
|||||||
name: rss
|
name: rss
|
||||||
label: RSS
|
label: RSS
|
||||||
value: false
|
value: false
|
||||||
|
|
||||||
- $formkit: array
|
- $formkit: array
|
||||||
name: social_media
|
name: social_media
|
||||||
label: 社交媒体
|
label: 社交媒体
|
||||||
|
|||||||
Reference in New Issue
Block a user