iOS
iOS copied to clipboard
Status bar color follows wrong color variable
iOS device model, version and app version
Model Name: iPhone 15 Pro Software Version: iOS 17.4.1 App version: 2024.624
Home Assistant Core Version 2024.4.4, 2024.5.0-b4
Describe the bug
The color of the status bar follows the --app-header-background-color variable. This is inconsistent with the browser where it follows --app-theme-color. It'd be nice to use that variable if it's set.
To Reproduce
Create a theme which sets app-theme-color:
app-theme-color: "#88827B" # Average header color, used on the top of the browser
Expected behavior
--app-theme-color should be used if it's set. The header color could still be used as a fallback.
Screenshots
Additional context The frontend sets the theme color here: https://github.com/home-assistant/frontend/blob/7120ad99b9bdd3d6dc648deb6ae5285d986f8744/src/state/themes-mixin.ts#L134
In the default theme the value of --app-header-background-color and --app-theme-color is the same.