Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app-header-background-color not showing working as expected #10

Open
ljtilley opened this issue Oct 2, 2024 · 0 comments
Open

app-header-background-color not showing working as expected #10

ljtilley opened this issue Oct 2, 2024 · 0 comments

Comments

@ljtilley
Copy link

ljtilley commented Oct 2, 2024

I don't know if this is a bug with home assistant's theming or not, but it doesn't seem like setting the app header background colour works with variables:
app-header-background-color: "var(--background-color)"

When I open the app after setting the theme the android app header seems to stay stuck on the home assistant blue colour and doesn't match the theme.

The workaround I identified was to substitute this definition for the correct hex colour:
dark theme: app-header-background-color: "#393646"
light theme: app-header-background-color: "#eff1f5"

I also tested this with rgba colours since background-color is defined as an rgba value for the dark theme and it didn't seem to like rgba either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant