fix
This commit is contained in:
+10
-1
@@ -4,9 +4,18 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="referrer" content="no-referrer" />
|
||||
<meta name="theme-color" content="#0b0d12" />
|
||||
<meta name="theme-color" content="#fafafa" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<title>File Drop</title>
|
||||
<script>
|
||||
(function () {
|
||||
var t = localStorage.getItem('filehost.theme');
|
||||
if (t !== 'dark' && t !== 'light') {
|
||||
t = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
|
||||
}
|
||||
document.documentElement.classList.toggle('dark', t === 'dark');
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
Reference in New Issue
Block a user