Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
static/js/theme-switcher: use dark theme by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ShoshinNikita committed Apr 27, 2021
1 parent 1677d9e commit 14aae26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/js/theme-switcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ function isDarkTheme() {
(function () {
let theme = localStorage.getItem(localStorageKey);
if (theme != lightTheme && theme != darkTheme) {
// Use light theme as a default one
theme = lightTheme;
// Use dark theme by default
theme = darkTheme;
}
switchTheme(theme);
})();

0 comments on commit 14aae26

Please sign in to comment.