fix(ui): split theme & icon load to prevent flicker, errors

Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
This commit is contained in:
ernolf 2024-10-25 20:30:30 +02:00
parent a0ce2c1bec
commit 3f3ae167e9
No known key found for this signature in database
GPG key ID: 0B145139A170715C
2 changed files with 16 additions and 5 deletions

View file

@ -15,7 +15,7 @@
<div class="loader"></div>
</div>
<button id="theme-toggle" onclick="toggleTheme()">
<span id="theme-icon">🌙</span>
<span id="theme-icon"></span>
</button>
</body>
</html>