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.

fix(theme): improve text contrast in default dark mode (#5323)

Shivam Kumar41358ed3bac3
diff --git a/web/src/themes/default-dark.css b/web/src/themes/default-dark.css
index 48e706a6e..3f79a70a9 100644
--- a/web/src/themes/default-dark.css
+++ b/web/src/themes/default-dark.css
@@ -1,16 +1,16 @@
:root {
--background: oklch(0.2 0.003 270);
- --foreground: oklch(0.8 0.003 270);
+ --foreground: oklch(0.92 0.005 270);
--card: oklch(0.23 0.003 270);
- --card-foreground: oklch(0.8 0.003 270);
+ --card-foreground: oklch(0.92 0.005 270);
--popover: oklch(0.23 0.003 270);
- --popover-foreground: oklch(0.77 0.003 270);
+ --popover-foreground: oklch(0.9 0.005 270);
--primary: oklch(0.6 0.08 250);
--primary-foreground: oklch(0.2 0.003 270);
--secondary: oklch(0.27 0.005 270);
- --secondary-foreground: oklch(0.75 0.003 270);
+ --secondary-foreground: oklch(0.88 0.004 270);
--muted: oklch(0.25 0.005 270);
- --muted-foreground: oklch(0.58 0.003 270);
+ --muted-foreground: oklch(0.75 0.004 270);
--accent: oklch(0.3 0.008 270);
--accent-foreground: oklch(0.8 0.003 270);
--destructive: oklch(0.55 0.1 25);