fix(web): match loading screen to dark theme (#5303)
This commit is contained in:
1 parent
6f04a5cffb
commit
a261a6440a
1 file changed
+4
-4
+4
-4
@@ -7,14 +7,14 @@
|
||||
content="width=device-width, initial-scale=1.0, viewport-fit=cover, interactive-widget=resizes-content"
|
||||
/>
|
||||
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)" />
|
||||
<meta name="theme-color" content="#161616" media="(prefers-color-scheme: dark)" />
|
||||
<meta name="theme-color" content="#161616" />
|
||||
<meta name="theme-color" content="#0a0a0a" media="(prefers-color-scheme: dark)" />
|
||||
<meta name="theme-color" content="#0a0a0a" />
|
||||
<link rel="icon" href="/favicon.ico" sizes="48x48" />
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||
<script>
|
||||
(() => {
|
||||
const LIGHT_BACKGROUND = "#ffffff";
|
||||
const DARK_BACKGROUND = "#161616";
|
||||
const DARK_BACKGROUND = "#0a0a0a";
|
||||
const themeColorMeta = document.querySelector('meta[name="theme-color"]');
|
||||
try {
|
||||
const storedTheme = window.localStorage.getItem("t3code:theme");
|
||||
@@ -58,7 +58,7 @@
|
||||
}
|
||||
|
||||
html.dark body {
|
||||
background: #161616;
|
||||
background: #0a0a0a;
|
||||
color: #f5f5f5;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user