Skip to content

Commit

Permalink
Update themes.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MyBooty165 authored Oct 14, 2024
1 parent 20fd2dc commit 80005cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/settings/themes.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ document.addEventListener('DOMContentLoaded', function() {
});

function applyls() {
console.log(savedtheme);
console.log(savedfont);
const savedtheme = localStorage.getItem('theme') || 'Default';
const savedfont = localStorage.getItem('font') || 'Default Font';

Expand All @@ -21,7 +23,6 @@ function applyls() {
}

function changefont(font) {
console.log('Font:', font);
const body = document.body;
const header = document.getElementById('header');
const footer = document.getElementById('footer');
Expand Down

0 comments on commit 80005cc

Please sign in to comment.