victor HF staff commited on
Commit
e12af12
1 Parent(s): 6a35655

dark by default

Browse files
Files changed (1) hide show
  1. src/app.html +1 -1
src/app.html CHANGED
@@ -10,6 +10,6 @@
10
  <div style="display: contents">%sveltekit.body%</div>
11
  </body>
12
  <script>
13
- localStorage.theme === 'dark' && document.documentElement.classList.add('dark');
14
  </script>
15
  </html>
 
10
  <div style="display: contents">%sveltekit.body%</div>
11
  </body>
12
  <script>
13
+ localStorage.theme !== 'light' && document.documentElement.classList.add('dark');
14
  </script>
15
  </html>