Custom color selector #1247
Unanswered
misterlyster
asked this question in
Questions about config, custom styles and templates
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Goal
I created a module to change the background color or a button which uses the custom vars in the theme yaml. I see IzeQube has created something similar, but uses a dropdown of the HA primary ui colors (#1246). The dropdown has the color name AND a small circle which shows the actual color.
Looking to see if possible to add something similar, but for my custom defined colors?
Also, I cannot seem to default my dropdown to show the current value. Added an "initial:" to the selector but seems to ignore.
Source Yaml
Which step did you already try?
Problem
The ui_color selector built in to HA uses the primary ui colors, looking to see how I can utilize that funcitonality, but with my own colors.
Read the documentation
Beta Was this translation helpful? Give feedback.
All reactions