nandi/gleanpublic Fork 0
9010e40
Commits
Clone
git clone https://git.rickub.com/nandi/glean.git
git clone ssh://git@rickub.com/nandi/glean.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

refactor(web): default theme to light onlyUnverified

Julien Robert committed 2026-08-17T22:59:00+02:00 Browse files
9010e40 parent: d310c84
modified web/src/app.css +1 -1
@@ -30,7 +30,7 @@
3030 }
3131
3232 :root {
33- color-scheme: light dark;
33+ color-scheme: light;
3434 --bg: #fafaf7;
3535 --fg: #0a0a0a;
3636 --surface: #f0efe9;
@@ -30,7 +30,7 @@
30 }30 }
31 31
32 :root {32 :root {
33- color-scheme: light dark;33+ color-scheme: light;
34 --bg: #fafaf7;34 --bg: #fafaf7;
35 --fg: #0a0a0a;35 --fg: #0a0a0a;
36 --surface: #f0efe9;36 --surface: #f0efe9;
modified web/src/app.html +1 -5
@@ -8,11 +8,7 @@
88 />
99 <script>
1010 (function () {
11- var p =
12- localStorage.getItem("theme") ||
13- (window.matchMedia("(prefers-color-scheme:dark)").matches
14- ? "dark"
15- : "light");
11+ var p = localStorage.getItem("theme") || "light";
1612 document.documentElement.setAttribute("data-theme", p);
1713 })();
1814 </script>
@@ -8,11 +8,7 @@
8 />8 />
9 <script>9 <script>
10 (function () {10 (function () {
11- var p =11+ var p = localStorage.getItem("theme") || "light";
12- localStorage.getItem("theme") ||
13- (window.matchMedia("(prefers-color-scheme:dark)").matches
14- ? "dark"
15- : "light");
16 document.documentElement.setAttribute("data-theme", p);12 document.documentElement.setAttribute("data-theme", p);
17 })();13 })();
18 </script>14 </script>