fix: Fix CR and doc-string
This commit is contained in:
parent
18927bf85d
commit
97b92e7da1
2 changed files with 9 additions and 7 deletions
|
@ -20,8 +20,8 @@ window.addEventListener('load', async () => {
|
||||||
|
|
||||||
|
|
||||||
function checkScheme(scheme) {
|
function checkScheme(scheme) {
|
||||||
if (THEME_LIGHT == false) return "dark"
|
if (THEME_LIGHT === false) return "dark"
|
||||||
if (THEME_DARK == false) return "light"
|
if (THEME_DARK === false) return "light"
|
||||||
return scheme
|
return scheme
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -69,17 +69,19 @@ params:
|
||||||
# id: foo
|
# id: foo
|
||||||
# name: bar
|
# name: bar
|
||||||
|
|
||||||
# The `darkMode` feature. It's a deprecated setting but keep backward compatibility
|
# [Deprecated] The `darkMode` feature
|
||||||
darkmode:
|
# This is a deprecated setting, but has not been removed to maintain backward compatibility
|
||||||
|
# If `theme` is set, the `darkMode` setting will be discarded.
|
||||||
|
darkMode:
|
||||||
enable: true
|
enable: true
|
||||||
|
|
||||||
# Configure theme settings
|
# The `theme` feature
|
||||||
theme:
|
theme:
|
||||||
enable: true
|
enable: true
|
||||||
services:
|
services:
|
||||||
light: true # enable light theme. default "true"
|
light: true # enable light theme. default "true"
|
||||||
dark: true # enable dark theme. default "true"
|
dark: true # enable dark theme. default "true"
|
||||||
defaultTheme: light # can be either light, dark or system. default "system"
|
default: system # can be either light, dark or system. default "system"
|
||||||
|
|
||||||
This helper will convert the above config into the following env vars:
|
This helper will convert the above config into the following env vars:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue