slipx06 / sunsynk-power-flow-card

⚡A customizable Home Assistant card to emulate the Sunsynk System flow that's displayed on the Inverter screen.
MIT License
186 stars 53 forks source link

Background color #342

Closed loop2 closed 6 months ago

loop2 commented 6 months ago

Is there an existing issue for this?

Current Behavior

I can obtain only black and white background

Expected behaviour

I would change or remove the background color

Possible Solutions

card_mod ?

Mode

Both

Context / Reason

Hi! Great card! There is a way in order to change or remove the backgroud color of the card?

slipx06 commented 6 months ago

Hi. You can set this using card_mod. Just add the following to your config

card_mod:
  style: |
    ha-card {
      --ha-card-background: green;
    }

image