#What is the syntax for setting all the colors of a button?

1 messages · Page 1 of 1 (latest)

thin cobalt
#

I've spent far too much time just trying to understand how to set the basic colors. I have several areas in my dashboard where my improper syntax is thwarting me, so I'll use the attached button as an example. I just want a simple black on orange button. Why is it blue?

quaint timber
#

Something like this?

type: custom:bubble-card
card_type: button
button_type: switch
entity: input_boolean.open_backdoor_alert
styles: |-
  ha-card {
    --bubble-main-background-color: orange !important;
  }
  .bubble-icon {
    color: orange !important;
  }
thin cobalt
#

Nope. Afraid not. Now it’s just entirely blue.