Use dark title bar color on prefer dark scheme (#1180)

This commit is contained in:
Beto Osorio 2023-04-20 05:02:45 -06:00 committed by GitHub
parent dc02db4357
commit ec8f6c2735
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,8 @@ function MyApp({ Component, pageProps }: any) {
<meta name="description" content={APP_DESCRIPTION} /> <meta name="description" content={APP_DESCRIPTION} />
<meta name="format-detection" content="telephone=no" /> <meta name="format-detection" content="telephone=no" />
<meta name="mobile-web-app-capable" content="yes" /> <meta name="mobile-web-app-capable" content="yes" />
<meta name="theme-color" content="#fafafa" /> <meta name="theme-color" media="(prefers-color-scheme: light)" content="#fafafa" />
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#212529" />
<meta name="twitter:url" content={APP_URL} /> <meta name="twitter:url" content={APP_URL} />
<meta name="twitter:title" content={APP_NAME} /> <meta name="twitter:title" content={APP_NAME} />