mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
fix(plugin): persist theme mode for web theme
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
:ui/settings-open? false
|
||||
:ui/sidebar-open? false
|
||||
:ui/sidebar-width "40%"
|
||||
:ui/left-sidebar-open? (boolean (storage/get "ls-left-sidebar-open?"))
|
||||
:ui/left-sidebar-open? (boolean (storage/get :ls-left-sidebar-open?))
|
||||
:ui/theme (or (storage/get :ui/theme) "light")
|
||||
:ui/system-theme? ((fnil identity (or util/mac? util/win32? false)) (storage/get :ui/system-theme?))
|
||||
:ui/custom-theme (or (storage/get :ui/custom-theme) {:light {:mode "light"} :dark {:mode "dark"}})
|
||||
|
||||
Reference in New Issue
Block a user