Change default orange to green

getting better, this set the var the way I wanted. I’m starting to get Home assistant!

green-color: “#00ff00

Thanks for your help. I needed a little guidance. With the code given I was able to modify a theme.
One of my favorite things in openHAB was the HABpanel on/off switch that turned red for off and green for on.
Here is my HA version

LOL I meant Ildar_Gabdullin post as the solution.

1 Like

This one is also good:

my_theme:
state-switch-active-color: var(–green-color)
state-input_boolean-on-color: var(–green-color)
state-binary_sensor-on-color: var(–green-color)

my_theme_2:
state-switch-active-color: “#00ff00
state-input_boolean-on-color: “#00ff00
state-binary_sensor-on-color: “#00ff00

this doent work for me

my theme 2: doesnt work

but i dont know how i have adapt the code to use the

green-color: “#00ff00