diff --git a/frontend/index.html b/frontend/index.html
index e8095d7..d308167 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -10,6 +10,12 @@
+
+
+
+
+
+
("light");
const resolvedTheme = useResolvedTheme(themeSelection);
const muiTheme = React.useMemo(() => buildTheme(resolvedTheme), [resolvedTheme]);
+ // index.html's theme-color tags follow the OS; this makes the title bar follow the theme
+ // actually shown, which can be a manual light/dark choice.
+ React.useEffect(() => {
+ document.querySelectorAll('meta[name="theme-color"]').forEach((meta) => {
+ meta.content = muiTheme.palette.background.default;
+ });
+ }, [muiTheme]);
const isAdmin = user?.role === "ADMIN";
React.useEffect(() => {
(async () => setHealth(await healthApi.get()))();