[BUG]: meta[name='theme-color'] does not update correctly when theme is set to 'system'

Author: mawen12Created Jun 11, 2026Updated Jun 24, 2026
Labelsbug

Describe the bug When the user selects 'system' as their theme preference, the meta[name='theme-color'] tag always sets its content to '#fff' (light mode color), regardless of the operating system's actual color scheme. This causes the browser address bar / tab bar color to mismatch the actual page theme.

To Reproduce Steps to reproduce the behavior:

1.Open the app in a browser 2.Set your operating system to dark mode 3.Open the theme switcher dropdown and select System 4.Press F12 to see the meta[name="theme-color"]

xml
<html>
<head>
<meta name="theme-color" content="#fff">
</head>
</html>

Expected behavior The should be <meta name="theme-color" content="#020817">

Screenshots

Image

Additional context Add any other context about the problem here.