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

FR: set colors via theme variables #54

Closed
darthsebulba04 opened this issue Jun 21, 2022 · 1 comment
Closed

FR: set colors via theme variables #54

darthsebulba04 opened this issue Jun 21, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@darthsebulba04
Copy link
Contributor

I have different themes on every device so it would be great to be able to set line colors (and others?) to theme variables to make everything look natural.

More details on the forum post below. Using the format var(—background-color) is the proposed way to express it.

https://community.home-assistant.io/t/plotly-interactive-graph-card/347746/110

Thanks!

@dbuezas dbuezas added the enhancement New feature or request label Oct 31, 2022
@dbuezas
Copy link
Owner

dbuezas commented Jan 29, 2023

css_vars are now passed as argument to universal functions ($fn), so your request is finally possible to implement in yaml :)
Closed by the release of v3.0.0

@dbuezas dbuezas closed this as completed Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants