diff --git a/apps/web/index.html b/apps/web/index.html
index f8d8187..0b98453 100644
--- a/apps/web/index.html
+++ b/apps/web/index.html
@@ -8,8 +8,9 @@
name="viewport"
content="width=device-width, initial-scale=1.0, viewport-fit=cover"
/>
-
-
+
+
@@ -28,6 +29,9 @@
stored === 'dark' || (stored !== 'light' && matchMedia('(prefers-color-scheme: dark)').matches)
document.documentElement.classList.toggle('dark', dark)
document.documentElement.style.colorScheme = dark ? 'dark' : 'light'
+ document
+ .querySelector('meta[name="theme-color"]')
+ .setAttribute('content', dark ? '#0f1411' : '#f9f8f5')
})()
diff --git a/apps/web/src/components/theme-provider.tsx b/apps/web/src/components/theme-provider.tsx
index f41369b..3ede646 100644
--- a/apps/web/src/components/theme-provider.tsx
+++ b/apps/web/src/components/theme-provider.tsx
@@ -16,6 +16,9 @@ type ThemeContextValue = {
const STORAGE_KEY = 'superlist-theme'
const DARK_QUERY = '(prefers-color-scheme: dark)'
+/** Browser chrome color (the iOS status bar) per theme. Keep in sync with `index.html`. */
+const THEME_COLORS: Record = { light: '#f9f8f5', dark: '#0f1411' }
+
/**
* This theme handling is hand-rolled on purpose. Libraries such as `next-themes`
* avoid the pre-paint flash by rendering a `