Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to change the shape #78

Open
lukuhn opened this issue Sep 4, 2023 · 4 comments
Open

Possibility to change the shape #78

lukuhn opened this issue Sep 4, 2023 · 4 comments

Comments

@lukuhn
Copy link

lukuhn commented Sep 4, 2023

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.

@bokub
Copy link
Owner

bokub commented Sep 4, 2023

Hi,

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

@lukuhn
Copy link
Author

lukuhn commented Sep 8, 2023

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

@bokub
Copy link
Owner

bokub commented Sep 8, 2023

Using border-radius, as you suggested earlier

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

@bokub
Copy link
Owner

bokub commented Sep 17, 2023

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

```
Like that
````

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants