Card color in state on - no rgb

Ahh, so you want it to be same color at all times? that’s much simpler, just change it to this:

Here are three different ways to set the color, rgba (rgb with opacity control), rgb, or just the color name, just choose one and make it the same in all four places.

state:
  - value: 'on'
    styles:
      card:
        - '-webkit-box-shadow': 0 0 0.95rem 0.2rem rgba(255,255,0, 1)
        - box-shadow: 0 0 0.95rem 0.2rem rgb(255,255,0)
        - transition: 2s ease
      icon:
        - filter: drop-shadow(0 0 0.75rem light-yellow)
        - transition: 2s ease
        - position: relative
      name:
        - color: yellow
1 Like