Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
refactorian committed Apr 11, 2024
1 parent a563572 commit 59a9678
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/_defaults.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $hint-colors: (

// Themes
@mixin theme-light {
--gray-100: #f1f1f1;
--gray-100: #fafafa;
--gray-200: #e9ecef;
--gray-500: #adb5bd;

Expand All @@ -40,7 +40,7 @@ $hint-colors: (
--body-background: white;
--body-font-color: black;

--menu-color: #fafafa;
--menu-color: #eeeeee;
--icon-filter: none;

--hint-color-info: #6bf;
Expand Down
4 changes: 4 additions & 0 deletions assets/mode.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
if (typeof (Storage) !== 'undefined') {
themeMode();
}

function themeMode() {
let html = document.documentElement;
let themeMode = localStorage.getItem('themeMode') || html.getAttribute('data-theme');

Expand Down

0 comments on commit 59a9678

Please sign in to comment.