Change the backgund to glance card

HI,
it is possible to change the backgund to glance card from white to other color.
how-to?
thanks

According to the documentation of the Glace card, you should be able to do that

theme
(string)(Optional)Set to any theme within themes.yaml

Thanks, I’ll try.

If that doesn’t work, you could try the custom card modder.
The following matches the color background you’re looking for.

  - type: custom:card-modder
    style:
      --paper-card-background-color: rgba(0, 100, 0, 0.2)
      --paper-item-icon-color: white
      border-radius: 5px
      color: rgb(0, 0, 100)
    card: #required
      type: glance
      title: Styled card1
      entities:
        - light.bonus_room

Thanks, it works!