Browse Source

feat: set background color as early as possible

imwald
codytseng 1 year ago
parent
commit
6543f29529
  1. 11
      index.html

11
index.html

@ -30,14 +30,17 @@ @@ -30,14 +30,17 @@
content="https://github.com/CodyTseng/jumble/blob/master/resources/og-image.png?raw=true"
/>
<style>
body {
background-color: #ffffff;
:root {
--background-color: #ffffff;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #09090b;
:root {
--background-color: #09090b;
}
}
html, body {
background-color: var(--background-color);
}
</style>
</head>
<body>

Loading…
Cancel
Save