frontend: set dark background as early as possible to avoid white flashing

This commit is contained in:
Johannes Zellner
2024-06-21 10:57:21 +02:00
parent f065821587
commit ce1146a9ef
4 changed files with 21 additions and 1 deletions

View File

@@ -5,6 +5,13 @@
<link rel="icon" href="/api/v1/cloudron/avatar" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>File Manager</title>
<style>
@media (prefers-color-scheme: dark) {
body {
background-color: black;
}
}
</style>
</head>
<body>
<div id="app"></div>