chore: fix word mistakes
This commit is contained in:
+7
-7
@@ -67,7 +67,7 @@ spec:
|
|||||||
value: false
|
value: false
|
||||||
help: 开启后将默认使用像素风格字体及图标
|
help: 开启后将默认使用像素风格字体及图标
|
||||||
- $formkit: select
|
- $formkit: select
|
||||||
name: default_schema_mode
|
name: default_scheme_mode
|
||||||
label: 默认配色方案
|
label: 默认配色方案
|
||||||
value: "dark"
|
value: "dark"
|
||||||
options:
|
options:
|
||||||
@@ -78,8 +78,8 @@ spec:
|
|||||||
- label: "跟随系统"
|
- label: "跟随系统"
|
||||||
value: "system"
|
value: "system"
|
||||||
- $formkit: select
|
- $formkit: select
|
||||||
name: dark_color_schema
|
name: dark_color_scheme
|
||||||
id: dark_color_schema
|
id: dark_color_scheme
|
||||||
label: 深色配色方案
|
label: 深色配色方案
|
||||||
value: "night"
|
value: "night"
|
||||||
options:
|
options:
|
||||||
@@ -109,14 +109,14 @@ spec:
|
|||||||
value: "vanilla"
|
value: "vanilla"
|
||||||
- $formkit: text
|
- $formkit: text
|
||||||
name: custom_dark
|
name: custom_dark
|
||||||
if: "$get(dark_color_schema).value === 'custom'"
|
if: "$get(dark_color_scheme).value === 'custom'"
|
||||||
value: ""
|
value: ""
|
||||||
help: "在此填写自定义配色的名称"
|
help: "在此填写自定义配色的名称"
|
||||||
validation: "required"
|
validation: "required"
|
||||||
|
|
||||||
- $formkit: select
|
- $formkit: select
|
||||||
name: light_color_schema
|
name: light_color_scheme
|
||||||
id: light_color_schema
|
id: light_color_scheme
|
||||||
label: 浅色配色方案
|
label: 浅色配色方案
|
||||||
value: "day"
|
value: "day"
|
||||||
options:
|
options:
|
||||||
@@ -146,7 +146,7 @@ spec:
|
|||||||
value: "vanilla"
|
value: "vanilla"
|
||||||
- $formkit: text
|
- $formkit: text
|
||||||
name: custom_light
|
name: custom_light
|
||||||
if: "$get(light_color_schema).value === 'custom'"
|
if: "$get(light_color_scheme).value === 'custom'"
|
||||||
value: ""
|
value: ""
|
||||||
help: "在此填写自定义配色的名称"
|
help: "在此填写自定义配色的名称"
|
||||||
validation: "required"
|
validation: "required"
|
||||||
|
|||||||
@@ -13,9 +13,9 @@
|
|||||||
document.documentElement.setAttribute("system_font", system_font);
|
document.documentElement.setAttribute("system_font", system_font);
|
||||||
</script>
|
</script>
|
||||||
<script no-pjax th:inline="javascript">
|
<script no-pjax th:inline="javascript">
|
||||||
let dark_theme = /*[[${theme.config.style.dark_color_schema}]]*/;
|
let dark_theme = /*[[${theme.config.style.dark_color_scheme}]]*/;
|
||||||
let light_theme = /*[[${theme.config.style.light_color_schema}]]*/;
|
let light_theme = /*[[${theme.config.style.light_color_scheme}]]*/;
|
||||||
const default_mode = /*[[${theme.config.style.default_schema_mode}]]*/;
|
const default_mode = /*[[${theme.config.style.default_scheme_mode}]]*/;
|
||||||
|
|
||||||
if (dark_theme === 'custom') {
|
if (dark_theme === 'custom') {
|
||||||
dark_theme = /*[[${theme.config.style.custom_dark}]]*/
|
dark_theme = /*[[${theme.config.style.custom_dark}]]*/
|
||||||
|
|||||||
Reference in New Issue
Block a user