diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html index d9aaa8e..3a1502b 100644 --- a/templates/base.html +++ b/templates/base.html | |||
@@ -30,6 +30,14 @@ | |||
30 | <link rel="preload" href="/iosevka-term-ss09-bold.woff2" as="font" type="font/woff2" crossorigin="anonymous" /> | 30 | <link rel="preload" href="/iosevka-term-ss09-bold.woff2" as="font" type="font/woff2" crossorigin="anonymous" /> |
31 | 31 | ||
32 | <link rel="stylesheet" href="/style.css" /> | 32 | <link rel="stylesheet" href="/style.css" /> |
33 | |||
34 | <script> | ||
35 | const lightTheme = localStorage.getItem("light"); | ||
36 | |||
37 | if (lightTheme === "true") { | ||
38 | document.documentElement.classList.add("t-light"); | ||
39 | } | ||
40 | </script> | ||
33 | </head> | 41 | </head> |
34 | 42 | ||
35 | <body> | 43 | <body> |