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.

feat: improve theming (#3032)

Dubzerf0a521f5b801
diff --git a/web/src/css/global.css b/web/src/css/global.css
index ae89cae7c..b1043f896 100644
--- a/web/src/css/global.css
+++ b/web/src/css/global.css
@@ -5,3 +5,10 @@ body {
#root {
@apply relative w-full min-h-full;
}
+html.dark {
+ color-scheme: dark;
+ scrollbar-color: hsla(0, 0%, 100%, .4) hsla(0, 0%, 100%, .029);
+}
+html.light {
+ color-scheme: light;
+}
\ No newline at end of file