feat: dark splash screen

This commit is contained in:
Timothy J. Baek 2024-06-07 16:57:02 -07:00
parent bd3e5d7bfa
commit f9aa03bc6d

View File

@ -59,15 +59,7 @@
<div
id="splash-screen"
style="
position: fixed;
z-index: 100;
background: #fff;
top: 0;
left: 0;
width: 100%;
height: 100%;
"
style="position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 100%"
>
<style type="text/css" nonce="">
html {
@ -93,3 +85,16 @@
</div>
</body>
</html>
<style type="text/css" nonce="">
#splash-screen {
background: #fff;
}
html.dark #splash-screen {
background: #000;
}
html.dark #splash-screen img {
filter: invert(1);
}
</style>