Skip to content

Commit

Permalink
dark theme default
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiitmouse committed Oct 22, 2024
1 parent a4ab9b1 commit 98be56e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// β”‚ β”œβ”€β”€β”œβ”€ β”‚β”‚β”‚β”œβ”€
// β”΄ β”΄ β”΄β””β”€β”˜β”΄ β”΄β””β”€β”˜
// Set theme based on Configurations and Preferences

localStorage.setItem('darkTheme', "enabled");
let darkTheme = localStorage.getItem('darkTheme');
const themeToggle = document.querySelector('#themeButton');
const bodyBackground = document.getElementById('#body');
Expand Down

0 comments on commit 98be56e

Please sign in to comment.