🔥 Remove Settings - Appearance - Customize the current theme https://github.com/siyuan-note/siyuan/issues/8006

This commit is contained in:
Liang Ding 2023-04-17 13:43:18 +08:00
parent a04905836e
commit d8f4ed846b
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
5 changed files with 47 additions and 399 deletions

View file

@ -31,7 +31,6 @@ type Appearance struct {
CodeBlockThemeLight string `json:"codeBlockThemeLight"` // 明亮模式下代码块主题
CodeBlockThemeDark string `json:"codeBlockThemeDark"` // 暗黑模式下代码块主题
Lang string `json:"lang"` // 选择的界面语言,同 AppConf.Lang
CustomCSS bool `json:"customCSS"` // 是否启用自定义主题
ThemeJS bool `json:"themeJS"` // 是否启用了主题 JavaScript
CloseButtonBehavior int `json:"closeButtonBehavior"` // 关闭按钮行为0退出1最小化到托盘
HideStatusBar bool `json:"hideStatusBar"` // 是否隐藏底部状态栏
@ -48,7 +47,6 @@ func NewAppearance() *Appearance {
CodeBlockThemeLight: "github",
CodeBlockThemeDark: "base16/dracula",
Lang: "en_US",
CustomCSS: false,
CloseButtonBehavior: 0,
HideStatusBar: false,
}