From 8fb9588ea2b6f2a81d80724d01f1557717cdf5e2 Mon Sep 17 00:00:00 2001 From: Aymane Dara Hlamnach Date: Mon, 5 Feb 2024 15:19:15 +0100 Subject: [PATCH] fix(pwa): set address bar theme color (#109) --- nuxt.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index e960f20..a42ed39 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -52,6 +52,8 @@ export default defineNuxtConfig({ { name: 'viewport', content: 'width=device-width, initial-scale=1' }, { name: 'description', content: appDescription }, { name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' }, + { name: 'theme-color', media: '(prefers-color-scheme: light)', content: 'white' }, + { name: 'theme-color', media: '(prefers-color-scheme: dark)', content: '#222222'}, ], }, },