fix: her theme
This commit is contained in:
@@ -83,9 +83,14 @@
|
|||||||
logo.style =
|
logo.style =
|
||||||
'position: absolute; width: auto; height: 6rem; top: 44%; left: 50%; transform: translateX(-50%); display:block;';
|
'position: absolute; width: auto; height: 6rem; top: 44%; left: 50%; transform: translateX(-50%); display:block;';
|
||||||
logo.src = isDarkMode ? '/static/splash-dark.png' : '/static/splash.png';
|
logo.src = isDarkMode ? '/static/splash-dark.png' : '/static/splash.png';
|
||||||
|
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', function () {
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
const splash = document.getElementById('splash-screen');
|
const splash = document.getElementById('splash-screen');
|
||||||
|
if (document.documentElement.classList.contains('her')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (splash) splash.prepend(logo);
|
if (splash) splash.prepend(logo);
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
|||||||
Reference in New Issue
Block a user