diff --git a/settings.yaml b/settings.yaml index 179ba7d..03e4e76 100644 --- a/settings.yaml +++ b/settings.yaml @@ -67,7 +67,7 @@ spec: value: false help: 开启后将默认使用像素风格字体及图标 - $formkit: select - name: default_schema_mode + name: default_scheme_mode label: 默认配色方案 value: "dark" options: @@ -78,8 +78,8 @@ spec: - label: "跟随系统" value: "system" - $formkit: select - name: dark_color_schema - id: dark_color_schema + name: dark_color_scheme + id: dark_color_scheme label: 深色配色方案 value: "night" options: @@ -109,14 +109,14 @@ spec: value: "vanilla" - $formkit: text name: custom_dark - if: "$get(dark_color_schema).value === 'custom'" + if: "$get(dark_color_scheme).value === 'custom'" value: "" help: "在此填写自定义配色的名称" validation: "required" - $formkit: select - name: light_color_schema - id: light_color_schema + name: light_color_scheme + id: light_color_scheme label: 浅色配色方案 value: "day" options: @@ -146,7 +146,7 @@ spec: value: "vanilla" - $formkit: text name: custom_light - if: "$get(light_color_schema).value === 'custom'" + if: "$get(light_color_scheme).value === 'custom'" value: "" help: "在此填写自定义配色的名称" validation: "required" diff --git a/templates/modules/layout.html b/templates/modules/layout.html index dfb5532..449f5ea 100644 --- a/templates/modules/layout.html +++ b/templates/modules/layout.html @@ -13,9 +13,9 @@ document.documentElement.setAttribute("system_font", system_font);