[JS+Editor Module] IzeQubes Custom Colors #1246
Replies: 2 comments 2 replies
-
Hi! I just checked your code, and this is brilliant: bubbleIcon.style.color = `var(--${this.config.izequbes_custom_colors.main_icon.icon_color}-color)`; I was not aware that Home Assistant had variables for all these colors! That's why I've added an example with RGB colors 😅 I will update mine with this approach, it's a lot sexier! 😃 Thank you! |
Beta Was this translation helpful? Give feedback.
-
First off, I love the idea of one module controlling all colour options. Thank you. I'm noticing some odd behaviour though. I have custom border radius set through default config. If I enable your module on a slider button it works as expected. However, if I enable it on a name/text button then the custom border radius is lost. Is this likely related to this module or better directed at Clooos? |
Beta Was this translation helpful? Give feedback.
-
IzeQubes Custom Colors
Version: v1.0
Creator: IzeQube
Important
Unsupported cards:
Allows the user to change the accent color of the card with the standard Home Assistant predefined colors.
This change only effects the card if the entity is "turned on".
The user can also override the icon color and background background of the icon container.
Last but not least the user can change the opacity of both the card background color as the icon.
Configure this module via the editor or in YAML, for example:
🧩 Get this Module
Screenshot:
Beta Was this translation helpful? Give feedback.
All reactions