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.

Export shadow color

Smaug67394615e68fd031
diff --git a/frontend/components/AppFooter.vue b/frontend/components/AppFooter.vue
index 7419005a..c66986fb 100644
--- a/frontend/components/AppFooter.vue
+++ b/frontend/components/AppFooter.vue
@@ -13,13 +13,12 @@ footer {
align-items: center;
background-color: var(--bg-contrast);
border-top: 1px solid var(--border-color);
- box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
+ box-shadow: 0 -1px 10px var(--border-color);
}
footer .p2 {
font-size: 14px;
font-weight: 400;
- color: #7a7a7a;
}
footer .logo {
diff --git a/frontend/components/MarkdownEditor/MarkdownEditor.vue b/frontend/components/MarkdownEditor/MarkdownEditor.vue
index 9b39ef98..daf86651 100644
--- a/frontend/components/MarkdownEditor/MarkdownEditor.vue
+++ b/frontend/components/MarkdownEditor/MarkdownEditor.vue
@@ -75,7 +75,7 @@ function debounce(fn: Function, wait: number) {
.editor-container {
height: 90%;
width: 100%;
- box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
+ box-shadow: 0 0 10px 0 var(--border-color);
border-radius: 15px;
}
diff --git a/frontend/components/Notification.vue b/frontend/components/Notification.vue
index 40858779..ad23d1e8 100644
--- a/frontend/components/Notification.vue
+++ b/frontend/components/Notification.vue
@@ -31,7 +31,7 @@ const close = (id: number) => useNotifications().remove(id);
border-radius: 8px;
color: white;
margin-bottom: 10px;
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
+ box-shadow: 0 4px 12px var(--border-color);
width: 350px;
}
diff --git a/frontend/pages/dashboard/categories/[id]/edit.vue b/frontend/pages/dashboard/categories/[id]/edit.vue
index ac899c1b..8acba4ae 100644
--- a/frontend/pages/dashboard/categories/[id]/edit.vue
+++ b/frontend/pages/dashboard/categories/[id]/edit.vue
@@ -67,7 +67,7 @@ const deleteCategory = async () => {
padding: 25px;
margin: 40px auto;
background-color: var(--bg-color);
- box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
+ box-shadow: 0 0 10px 0 var(--border-color);
border-radius: 12px;
min-width: 40%;
max-width: 800px;
diff --git a/frontend/pages/dashboard/categories/[id]/index.vue b/frontend/pages/dashboard/categories/[id]/index.vue
index 01588e2a..6fa19866 100644
--- a/frontend/pages/dashboard/categories/[id]/index.vue
+++ b/frontend/pages/dashboard/categories/[id]/index.vue
@@ -72,7 +72,7 @@ h1 {
.document-card {
border-radius: 10px;
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ box-shadow: 0 4px 6px var(--border-color);
overflow: hidden;
width: 400px;
display: flex;
diff --git a/frontend/pages/dashboard/categories/new.vue b/frontend/pages/dashboard/categories/new.vue
index 9a0a8b3c..2f324bec 100644
--- a/frontend/pages/dashboard/categories/new.vue
+++ b/frontend/pages/dashboard/categories/new.vue
@@ -51,7 +51,7 @@ function createCategory() {
padding: 25px;
margin: 40px auto;
background-color: var(--bg-color);
- box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
+ box-shadow: 0 0 10px 0 var(--border-color);
border-radius: 12px;
min-width: 40%;
max-width: 800px;
diff --git a/frontend/pages/index.vue b/frontend/pages/index.vue
index 2f97075c..59ec9daf 100644
--- a/frontend/pages/index.vue
+++ b/frontend/pages/index.vue
@@ -171,7 +171,7 @@ h3 {
font-size: 1rem;
transition: all 0.3s ease;
display: inline-block;
- box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
+ box-shadow: 0px 4px 12px var(--border-color);
}
.get-started {
@@ -189,7 +189,7 @@ h3 {
.get-started:hover,
.github:hover {
transform: translateY(-4px);
- box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
+ box-shadow: 0px 6px 15px var(--border-color);
}
.images {
@@ -201,7 +201,7 @@ h3 {
.images img {
width: 100%;
border-radius: 1rem;
- box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
+ box-shadow: 0 20px 40px var(--border-color);
}
.editor-section,
@@ -220,7 +220,7 @@ h3 {
margin: 0 auto;
border-radius: 1rem;
overflow: hidden;
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
+ box-shadow: 0 10px 30px var(--border-color);
border: 1px solid var(--border-color);
}
@@ -231,7 +231,7 @@ h3 {
}
.demo img {
- box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
+ box-shadow: 0 10px 20px var(--border-color);
display: block;
margin: 25px auto;
max-height: unset;
diff --git a/frontend/styles/_variables.scss b/frontend/styles/_variables.scss
index 12ca18a6..e4d4fdb4 100644
--- a/frontend/styles/_variables.scss
+++ b/frontend/styles/_variables.scss
@@ -37,7 +37,7 @@ $transition-duration: 0.3s;
--font-color: #334155;
--font-color-dark: #333;
--font-color-light: rgb(100, 116, 139);
- --border-color: rgba(0, 0, 0, 0.1);
+ --border-color: var(--border-color);
// COLORS \\
--grey: #666;
--grey-bg: rgb(240, 240, 240);
diff --git a/uploads/styles.css b/uploads/styles.css
index 4ac35552..b6cb027f 100644
--- a/uploads/styles.css
+++ b/uploads/styles.css
@@ -14,7 +14,7 @@ body {
background-color: #fff;
padding: 20px;
border-radius: 8px;
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
+ box-shadow: 0 0 10px var(--border-color);
text-align: center;
}