diff --git a/static/css/base.css b/static/css/base.css index bc8c7e3..06df8ee 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -201,7 +201,8 @@ input[type="radio"] { } .toggle_label { - min-width: 100%;; + min-width: 100%; + ; } } diff --git a/static/css/colors.css b/static/css/colors.css index 2cbcb87..0ff4d8c 100644 --- a/static/css/colors.css +++ b/static/css/colors.css @@ -46,4 +46,4 @@ --fg-que: rgb(248, 214, 41); --bg-nxt: rgb(74, 91, 96); --fg-nxt: rgb(205, 200, 194); -} +} \ No newline at end of file diff --git a/static/js/toggle.js b/static/js/toggle.js index 4b81c65..906d6a7 100644 --- a/static/js/toggle.js +++ b/static/js/toggle.js @@ -5,11 +5,11 @@ function initToggle() { function switchTheme(e) { if (e.target.checked) { document.documentElement.setAttribute('data-theme', 'dark'); - localStorage.setItem('theme', 'dark'); //add this + localStorage.setItem('theme', 'dark'); } else { document.documentElement.setAttribute('data-theme', 'light'); - localStorage.setItem('theme', 'light'); //add this + localStorage.setItem('theme', 'light'); } } @@ -31,4 +31,4 @@ function initToggle() { document.querySelectorAll('.toggle').forEach(function (el) { el.style.display = 'unset'; }); -} \ No newline at end of file +} diff --git a/templates/index.html b/templates/index.html index bcb9476..6737f6f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -71,4 +71,5 @@ initToggle(); + \ No newline at end of file