mirror of
https://github.com/wah-su/wah-su.github.io.git
synced 2025-04-28 17:09:40 +05:00
feat: page dark mode
This commit is contained in:
parent
40a31ce007
commit
a9c029164f
4 changed files with 72 additions and 12 deletions
|
@ -14,7 +14,6 @@ const setTheme = (theme) => {
|
|||
|
||||
function updateTheme() {
|
||||
let theme = localStorage.getItem("theme");
|
||||
console.log("updatingTheme", theme);
|
||||
if (theme) {
|
||||
setTheme(theme);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue