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.

feat(styles): add body-fixed variable for consistent background colors

Smaug673990cad0b9b43f
diff --git a/frontend/app/styles/base/_index.scss b/frontend/app/styles/base/_index.scss
index 1590275d..458b1c4a 100644
--- a/frontend/app/styles/base/_index.scss
+++ b/frontend/app/styles/base/_index.scss
@@ -24,7 +24,7 @@ body {
font-family: $font-sans;
line-height: 1.5;
color: var(--text-body);
- background: var(--surface-base);
+ background: var(--body-fixed);
transition: background-color $transition-base;
}
diff --git a/frontend/app/styles/themes/dark.scss b/frontend/app/styles/themes/dark.scss
index f0a241dd..af9edcf5 100644
--- a/frontend/app/styles/themes/dark.scss
+++ b/frontend/app/styles/themes/dark.scss
@@ -15,6 +15,7 @@
--surface-transparent: rgb(255 255 255 / 4%);
--surface-transparent-light: rgb(255 255 255 / 2%);
+ --body-fixed: #212830;
// -------------------------------------------------------------------------
// TEXT
// -------------------------------------------------------------------------
diff --git a/frontend/app/styles/themes/white.scss b/frontend/app/styles/themes/white.scss
index d1f798f8..07d492e8 100644
--- a/frontend/app/styles/themes/white.scss
+++ b/frontend/app/styles/themes/white.scss
@@ -15,6 +15,7 @@
--surface-transparent: rgb(8 8 8 / 3%);
--surface-transparent-light: rgb(8 8 8 / 2%);
+ --body-fixed: #fff;
// -------------------------------------------------------------------------
// TEXT
// -------------------------------------------------------------------------