A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: persist theme's color scheme when setting a new theme (#10270)
01zulfi9190a1de3f53
diff --git a/apps/web/src/stores/theme-store.ts b/apps/web/src/stores/theme-store.tsindex 2f435a928..249521914 100644--- a/apps/web/src/stores/theme-store.ts+++ b/apps/web/src/stores/theme-store.ts@@ -50,6 +50,7 @@ class ThemeStore extends BaseStore<ThemeStore> {setTheme = (theme: ThemeDefinition) => {changeDesktopTheme(theme, this.get().followSystemTheme);+ Config.set("colorScheme", theme.colorScheme);Config.set(`theme:${theme.colorScheme}`, theme);this.set({[getKey(theme)]: theme,