feat: update theme and background color meta tags for light and dark modes
This commit is contained in:
parent
f8e8017572
commit
a7ab100d6f
2 changed files with 22 additions and 3 deletions
|
|
@ -14,8 +14,7 @@
|
|||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"theme_color": "#ffffff",
|
||||
"background_color": "#ffffff",
|
||||
|
||||
"display": "standalone",
|
||||
"screenshots": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -29,7 +29,27 @@ export default function Document() {
|
|||
rel="mask-icon"
|
||||
/>
|
||||
<meta content="#da532c" name="msapplication-TileColor" />
|
||||
<meta content="#ffffff" name="theme-color" />
|
||||
|
||||
<meta
|
||||
content="#f8f8f8"
|
||||
media="(prefers-color-scheme: light)"
|
||||
name="theme-color"
|
||||
/>
|
||||
<meta
|
||||
content="#121212"
|
||||
media="(prefers-color-scheme: dark)"
|
||||
name="theme-color"
|
||||
/>
|
||||
<meta
|
||||
content="#f8f8f8"
|
||||
media="(prefers-color-scheme: light)"
|
||||
name="background-color"
|
||||
/>
|
||||
<meta
|
||||
content="#121212"
|
||||
media="(prefers-color-scheme: dark)"
|
||||
name="background-color"
|
||||
/>
|
||||
</Head>
|
||||
<body>
|
||||
<Main />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue