mirror of
https://github.com/andrewgioia/keyrune.git
synced 2024-12-22 23:49:56 +00:00
5 lines
218 B
JavaScript
5 lines
218 B
JavaScript
(function () {
|
|
var mode = localStorage.getItem("mode");
|
|
if (mode === "dark") document.documentElement.dataset.mode = 'dark';
|
|
else if (mode === "light") document.documentElement.dataset.mode = 'light';
|
|
})(); |