rgb-light-card icon indicating copy to clipboard operation
rgb-light-card copied to clipboard

Possibility to change the shape

Open lukuhn opened this issue 1 year ago • 4 comments

Hey it would be cool if it was possible to change the shape of the colors e.g. by using the border radius atrribut to turn the circle into a rectangle with rounded corners.

lukuhn avatar Sep 04 '23 09:09 lukuhn

Hi,

You should be able to do that using the card-mod module

bokub avatar Sep 04 '23 09:09 bokub

Yeah, but the question is how. I can't get it working

lukuhn avatar Sep 08 '23 09:09 lukuhn

Using border-radius, as you suggested earlier

- type: custom:rgb-light-card
  card_mod:
    style: '.color-circle { border-radius: 5px }'

bokub avatar Sep 08 '23 09:09 bokub

Sorry but I cannot read your code indentations. Please format your configuration using triple backticks

```
Like that
````

bokub avatar Sep 17 '23 16:09 bokub