mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
feat: dark splash screen
This commit is contained in:
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>
|
||||||
|
|||||||
Reference in New Issue
Block a user