Add files to repos
This commit is contained in:
1
themes/tabi/static/js/initializeTheme.min.js
vendored
Normal file
1
themes/tabi/static/js/initializeTheme.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){var t=document.documentElement.getAttribute("data-theme"),e=(t&&document.documentElement.setAttribute("data-default-theme",t),localStorage.getItem("theme"));e?document.documentElement.setAttribute("data-theme",e):t?document.documentElement.setAttribute("data-theme",t):(e=window.matchMedia("(prefers-color-scheme: dark)").matches,document.documentElement.setAttribute("data-theme",e?"dark":"light"))}();
|
||||
Reference in New Issue
Block a user