Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: update light bg color (#744)

boojackc77d49259a58
diff --git a/web/index.html b/web/index.html
index 41484ff6e..eb4c54c9a 100644
--- a/web/index.html
+++ b/web/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/logo.webp" type="image/*" />
- <meta name="theme-color" media="(prefers-color-scheme: light)" content="#f6f5f4" />
+ <meta name="theme-color" media="(prefers-color-scheme: light)" content="#f4f4f5" />
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#27272a" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="manifest" href="/manifest.json" />
diff --git a/web/public/manifest.json b/web/public/manifest.json
index 38325a790..74794c0b7 100644
--- a/web/public/manifest.json
+++ b/web/public/manifest.json
@@ -12,6 +12,6 @@
"start_url": "/",
"scope": "/",
"display": "standalone",
- "theme_color": "#f6f5f4",
- "background_color": "#f6f5f4"
+ "theme_color": "#f4f4f5",
+ "background_color": "#f4f4f5"
}
diff --git a/web/src/less/auth.less b/web/src/less/auth.less
index 73afbd735..1d27b5dc1 100644
--- a/web/src/less/auth.less
+++ b/web/src/less/auth.less
@@ -1,5 +1,5 @@
.page-wrapper.auth {
- @apply flex flex-row justify-center items-center w-full h-screen bg-white dark:bg-zinc-800;
+ @apply flex flex-row justify-center items-center w-full h-screen bg-zinc-100 dark:bg-zinc-800;
> .page-container {
@apply w-80 max-w-full h-full py-4 flex flex-col justify-start items-center;
@@ -37,7 +37,7 @@
@apply absolute top-3 left-3 px-1 leading-10 flex-shrink-0 text-base cursor-text text-gray-400 bg-transparent transition-all select-none;
&.not-null {
- @apply text-sm top-0 z-10 leading-4 bg-white dark:bg-zinc-800 rounded;
+ @apply text-sm top-0 z-10 leading-4 bg-zinc-100 dark:bg-zinc-800 rounded;
}
}
@@ -45,7 +45,7 @@
@apply py-2;
> input {
- @apply w-full py-3 px-3 text-base rounded-lg;
+ @apply w-full py-3 px-3 text-base rounded-lg bg-zinc-100 dark:bg-zinc-800;
}
}
}
diff --git a/web/src/less/explore.less b/web/src/less/explore.less
index d79efc576..fc6e0631d 100644
--- a/web/src/less/explore.less
+++ b/web/src/less/explore.less
@@ -1,6 +1,5 @@
.page-wrapper.explore {
- @apply relative top-0 w-full h-screen overflow-y-auto overflow-x-hidden dark:bg-zinc-800;
- background-color: #f6f5f4;
+ @apply relative top-0 w-full h-screen overflow-y-auto overflow-x-hidden bg-zinc-100 dark:bg-zinc-800;
> .page-container {
@apply relative w-full min-h-screen mx-auto flex flex-col justify-start items-center pb-8;
diff --git a/web/src/less/home.less b/web/src/less/home.less
index a70861c61..59d0f9068 100644
--- a/web/src/less/home.less
+++ b/web/src/less/home.less
@@ -1,6 +1,5 @@
.page-wrapper.home {
- @apply relative top-0 w-full h-screen overflow-y-auto overflow-x-hidden dark:bg-zinc-800;
- background-color: #f6f5f4;
+ @apply relative top-0 w-full h-screen overflow-y-auto overflow-x-hidden bg-zinc-100 dark:bg-zinc-800;
> .banner-wrapper {
@apply w-full flex flex-col justify-start items-center;
@@ -17,8 +16,7 @@
@apply relative flex-grow max-w-2xl w-full min-h-full flex flex-col justify-start items-start px-4 sm:pr-6;
> .memos-editor-wrapper {
- @apply sticky top-0 w-full h-full flex flex-col justify-start items-start z-10 dark:bg-zinc-800;
- background-color: #f6f5f4;
+ @apply sticky top-0 w-full h-full flex flex-col justify-start items-start z-10 bg-zinc-100 dark:bg-zinc-800;
}
> .addition-btn-container {
diff --git a/web/src/less/memo-detail.less b/web/src/less/memo-detail.less
index a31bc2bee..d1c32d765 100644
--- a/web/src/less/memo-detail.less
+++ b/web/src/less/memo-detail.less
@@ -1,13 +1,11 @@
.page-wrapper.memo-detail {
- @apply relative top-0 w-full h-screen overflow-y-auto overflow-x-hidden dark:bg-zinc-800;
- background-color: #f6f5f4;
+ @apply relative top-0 w-full h-screen overflow-y-auto overflow-x-hidden bg-zinc-100 dark:bg-zinc-800;
> .page-container {
@apply relative w-full min-h-screen mx-auto flex flex-col justify-start items-center pb-8;
> .page-header {
- @apply sticky top-0 z-10 max-w-2xl w-full min-h-full flex flex-row justify-between items-center px-4 pt-6 mb-2 dark:bg-zinc-800;
- background-color: #f6f5f4;
+ @apply sticky top-0 z-10 max-w-2xl w-full min-h-full flex flex-row justify-between items-center px-4 pt-6 mb-2 bg-zinc-100 dark:bg-zinc-800;
> .title-container {
@apply flex flex-row justify-start items-center;
diff --git a/web/src/pages/Loading.tsx b/web/src/pages/Loading.tsx
index 551e3e680..d5a8fe4ba 100644
--- a/web/src/pages/Loading.tsx
+++ b/web/src/pages/Loading.tsx
@@ -2,7 +2,7 @@ import Icon from "../components/Icon";
function Loading() {
return (
- <div className="flex flex-row justify-center items-center w-full h-screen bg-white dark:bg-zinc-800">
+ <div className="flex flex-row justify-center items-center w-full h-screen bg-zinc-100 dark:bg-zinc-800">
<div className="w-80 max-w-full h-full py-4 flex flex-col justify-center items-center">
<Icon.Loader className="animate-spin dark:text-gray-200" />
</div>