fix: her theme
This commit is contained in:
parent
28c1de237b
commit
40f60c163d
|
|
@ -83,9 +83,14 @@
|
|||
logo.style =
|
||||
'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';
|
||||
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
const splash = document.getElementById('splash-screen');
|
||||
if (document.documentElement.classList.contains('her')) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (splash) splash.prepend(logo);
|
||||
});
|
||||
})();
|
||||
|
|
|
|||
Loading…
Reference in New Issue