Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

fix(theme): improve glassmorphism theme (#583)

A Sivasubramanian Manoj8188f996c830
diff --git a/frontend/app/components/AppHeader.vue b/frontend/app/components/AppHeader.vue
index dbf05e2f..1d28f532 100644
--- a/frontend/app/components/AppHeader.vue
+++ b/frontend/app/components/AppHeader.vue
@@ -20,6 +20,7 @@ nav {
.sign-up {
border: 1px solid var(--border);
background: var(--surface-base);
+ backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
&:hover {
outline: 2px solid var(--border);
diff --git a/frontend/app/components/Sidebar/Sidebar.vue b/frontend/app/components/Sidebar/Sidebar.vue
index d32b9d96..e657a961 100644
--- a/frontend/app/components/Sidebar/Sidebar.vue
+++ b/frontend/app/components/Sidebar/Sidebar.vue
@@ -134,6 +134,7 @@ onBeforeUnmount(() => {
max-height: 100%;
padding: 0.5rem 0.2rem 0.5rem 0.5rem;
background: var(--surface-base);
+ backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
overflow-y: auto;
scrollbar-gutter: stable;
diff --git a/frontend/app/styles/themes/glassmorphism.scss b/frontend/app/styles/themes/glassmorphism.scss
index 8a45db4b..7431f4fe 100644
--- a/frontend/app/styles/themes/glassmorphism.scss
+++ b/frontend/app/styles/themes/glassmorphism.scss
@@ -6,12 +6,12 @@
@mixin glassmorphism-theme {
// Border radius
- --radius-xs: 80px;
- --radius-sm: 12px;
- --radius-md: 18px;
- --radius-lg: 24px;
- --radius-xl: 24px;
- --radius-xxl: 28px;
+ --radius-xs: 8px;
+ --radius-sm: 10px;
+ --radius-md: 16px;
+ --radius-lg: 20px;
+ --radius-xl: 22px;
+ --radius-xxl: 26px;
// Overlay backdrop
--overlay-backdrop: rgb(0 0 0 / 50%);
@@ -19,7 +19,7 @@
// Backdrop effects for glassmorphism
--backdrop-blur: blur(2px);
- --backdrop-saturate: saturate(1);
+ --backdrop-saturate: saturate(1.6);
}
@mixin glassmorphism-theme-white {
@@ -33,9 +33,9 @@
// Softer borders
- --border: rgb(223 224 229 / 100%);
- --border-subtle: rgb(223 225 230 / 20%);
- --border-strong: rgb(0 0 0 / 10%);
+ --border: rgb(223 224 229 / 45%);
+ --border-subtle: rgb(223 225 230 / 15%);
+ --border-strong: rgb(0 0 0 / 15%);
// Elevated shadows with slight spread
--shadow-sm: 0 2px 8px rgb(0 0 0 / 6%);
@@ -59,4 +59,4 @@
--overlay-backdrop: rgb(0 0 0 / 40%);
--overlay-light: rgb(0 0 0 / 20%);
--surface-tooltip: rgb(15 18 25 / 85%);
-}
\ No newline at end of file
+}