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"
|
"type": "image/png"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"theme_color": "#ffffff",
|
|
||||||
"background_color": "#ffffff",
|
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"screenshots": [
|
"screenshots": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,27 @@ export default function Document() {
|
||||||
rel="mask-icon"
|
rel="mask-icon"
|
||||||
/>
|
/>
|
||||||
<meta content="#da532c" name="msapplication-TileColor" />
|
<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>
|
</Head>
|
||||||
<body>
|
<body>
|
||||||
<Main />
|
<Main />
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue