π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
init glassmorphism support: preferences & key
Smaug67391f3b1373bc7d
diff --git a/frontend/app/composables/Preferences.ts b/frontend/app/composables/Preferences.tsindex d518ff05..d26d924c 100644--- a/frontend/app/composables/Preferences.ts+++ b/frontend/app/composables/Preferences.ts@@ -15,6 +15,7 @@ export const DEFAULT_PREFERENCES = {view_dock: true as boolean,primaryColor: -2 as number, // -2 default primary; -1 unset; >= 0 app color indexdocSize: 1 as number, // 0 = small, 1 = large+ style: 'default' as 'default' | 'glassmorphism',theme: 'alexandrie' as string,documentAutoSave: true as boolean, // Enable automatic saving of documentssidebarItems: {diff --git a/frontend/app/pages/dashboard/settings/_views/preferences.vue b/frontend/app/pages/dashboard/settings/_views/preferences.vueindex 475bdec9..307a8b8e 100644--- a/frontend/app/pages/dashboard/settings/_views/preferences.vue+++ b/frontend/app/pages/dashboard/settings/_views/preferences.vue@@ -99,6 +99,15 @@ const options: Array<{ label: string; options: InterfaceOption[] }> = [appColors.setAppColor(option);},},+ {+ label: 'Interface style',+ type: 'radio',+ key: 'style',+ choices: [+ { label: 'Default', id: 'default' },+ { label: 'Glassmorphism', id: 'glassmorphism' },+ ],+ },],},{