Skip to content

Commit

Permalink
fix light mode switch
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Sep 19, 2023
1 parent b953829 commit cf5571b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Moonglade.Web/wwwroot/js/app/theme.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function useDarkMode() {

export function useLightMode() {
document.querySelector('#blog-nav').classList.add('bg-accent1');
$('#blog-nav, #moonglade-footer').removeClass('bg-dark');
$('#blog-nav, #blog-footer').removeClass('bg-dark');

document.querySelector('#blog-footer').classList.add('bg-accent2');

Expand Down

0 comments on commit cf5571b

Please sign in to comment.