Merge pull request #847 from 8times4/master

Add light/dark switch to meta theme-color
This commit is contained in:
Mike Cao 2021-11-20 15:30:12 -08:00 committed by GitHub
commit be55e251b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,8 @@ export default function App({ Component, pageProps }) {
<link rel="manifest" href={`${basePath}/site.webmanifest`} />
<link rel="mask-icon" href={`${basePath}/safari-pinned-tab.svg`} color="#5bbad5" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" />
<meta name="theme-color" content="##fafafa" media="(prefers-color-scheme: light)" />
<meta name="theme-color" content="##2f2f2f" media="(prefers-color-scheme: dark)" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</Head>
<Intl>