Skip to content

Commit 851026c

Browse files
committed
Added dark mode as default
1 parent 4c81624 commit 851026c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/__layout.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<svelte:head>
77
<script>
88
const getThemeFromLocalStorage = () => {
9-
const theme = localStorage.getItem('theme') || 'light';
9+
const theme = localStorage.getItem('theme') || 'dark';
1010
return theme;
1111
};
1212

0 commit comments

Comments
 (0)