mirror of
https://github.com/andrewgioia/keyrune.git
synced 2024-11-15 03:34:46 +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';
|
|
})(); |