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 <div
id="splash-screen" id="splash-screen"
style=" style="position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 100%"
position: fixed;
z-index: 100;
background: #fff;
top: 0;
left: 0;
width: 100%;
height: 100%;
"
> >
<style type="text/css" nonce=""> <style type="text/css" nonce="">
html { html {
@ -93,3 +85,16 @@
</div> </div>
</body> </body>
</html> </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>