mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 08:56:39 +00:00
feat: dark splash screen
This commit is contained in:
parent
bd3e5d7bfa
commit
f9aa03bc6d
23
src/app.html
23
src/app.html
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user