mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🎨 外观模式支持跟随系统切换 https://github.com/siyuan-note/siyuan/issues/5854
This commit is contained in:
parent
cf8b9a534a
commit
c1f695141e
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@
|
||||||
package conf
|
package conf
|
||||||
|
|
||||||
type Appearance struct {
|
type Appearance struct {
|
||||||
Mode int `json:"mode"` // 模式:0:明亮,1:暗黑,2:随日出日落自动切换
|
Mode int `json:"mode"` // 模式:0:明亮,1:暗黑,2:跟随系统
|
||||||
DarkThemes []string `json:"darkThemes"` // 暗黑模式外观主题列表
|
DarkThemes []string `json:"darkThemes"` // 暗黑模式外观主题列表
|
||||||
LightThemes []string `json:"lightThemes"` // 明亮模式外观主题列表
|
LightThemes []string `json:"lightThemes"` // 明亮模式外观主题列表
|
||||||
ThemeDark string `json:"themeDark"` // 选择的暗黑模式外观主题
|
ThemeDark string `json:"themeDark"` // 选择的暗黑模式外观主题
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue