Skip to content

New accent color – Reverting to the previous color is not working #1430

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

Closed
Wesk89 opened this issue Apr 25, 2025 · 6 comments
Closed

New accent color – Reverting to the previous color is not working #1430

Wesk89 opened this issue Apr 25, 2025 · 6 comments

Comments

@Wesk89
Copy link
Contributor

Wesk89 commented Apr 25, 2025

Hi ya,

I've been using Bubble Card and the Bubble theme (although customized to be a red theme) for quite a while.
With version 3.0.0 Beta-1 this enhancement was added:

New accent color:
The default accent color has been updated to a more accessible blue that improves contrast (a lot) with most themes, especially the default HA theme. (To revert to the previous color, add this to your theme: bubble-default-color: var(--accent-color))

It doesn't matter where I put "bubble-default-color: var(--accent-color) or "bubble-default-color: #" in the yaml file. It always shows up as the blue accent-color.

This is how it looks like (especially cards with states – climate cards e.g.):

Image

I don't know whether or not I am doing something wrong.

Cheers!

@Clooos
Copy link
Owner

Clooos commented Apr 26, 2025

Hi! There was an error on my side, the correct variable to change is this one:

bubble-accent-color: var(--accent-color)

@Wesk89
Copy link
Contributor Author

Wesk89 commented Apr 26, 2025

Thanks for the quick reply!
And of course, it had to be a variable I didn't try even though it's basically in front of my eyes, lol.

That worked for some elements as you can see:

Image

"bubble-select-border" doesn't seem to do the trick because the border is basically set to "none" when opening the combobox and only flashes for a brief second when the combobox is closed again.

Any ideas?

@Clooos
Copy link
Owner

Clooos commented Apr 26, 2025

I will check that, thank you for the feedback!

Edit: This is fixed!

@Wesk89
Copy link
Contributor Author

Wesk89 commented Apr 26, 2025

That was quick! Thanks a lot!

@Clooos
Copy link
Owner

Clooos commented Apr 26, 2025

You're welcome, just wait for the next beta now 😄

@Clooos
Copy link
Owner

Clooos commented Apr 27, 2025

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

2 participants