feat: update theme and background color meta tags for light and dark modes

This commit is contained in:
Marco Pedone 2025-11-14 18:35:07 +01:00
parent f8e8017572
commit a7ab100d6f
2 changed files with 22 additions and 3 deletions

View file

@ -14,8 +14,7 @@
"type": "image/png" "type": "image/png"
} }
], ],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone", "display": "standalone",
"screenshots": [ "screenshots": [
{ {

View file

@ -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 />