diff --git a/settings.yaml b/settings.yaml index 654797b..72e4214 100644 --- a/settings.yaml +++ b/settings.yaml @@ -47,7 +47,7 @@ spec: label: 默认像素化风格 value: false help: 开启后将默认使用像素风格字体及图标 - + - $formkit: checkbox label: 使用系统字体 name: system_font_enable @@ -61,7 +61,7 @@ spec: id: custom_font_enable label: 启用自定义字体文件 value: false - help: '如果启用 "使用系统字体", 此配置项不生效' + help: '如果启用 "使用系统字体", 此配置项不生效' - $formkit: array if: "$get(custom_font_enable).value === true" @@ -79,7 +79,7 @@ spec: label: 字体名称 placeholder: "JetBrains Mono" validation: "required" - + - $formkit: attachment name: file label: 自定义字体文件 @@ -99,65 +99,25 @@ spec: value: truetype - label: OpenType value: opentype - + - $formkit: checkbox name: color_scheme_switcher_enable label: 启用访客配色切换 value: false help: 开启后在页头显示配色选择下拉框 - + - $formkit: select name: default_scheme_mode label: 默认配色方案 - value: "dark" + value: "light" help: 控制访客首次访问时使用的配色模式 options: - - label: "深色" - value: "dark" - label: "浅色" value: "light" + - label: "深色" + value: "dark" - label: "跟随系统" 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 name: light_color_scheme @@ -199,6 +159,46 @@ spec: help: 填写下方自定义配色的 ID 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 name: custom_color_schemes label: 自定义配色 @@ -569,7 +569,7 @@ spec: name: rss label: RSS value: false - + - $formkit: array name: social_media label: 社交媒体