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

Request : color_thresholds impacting the font color #67

Closed
septeven opened this Issue Feb 27, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@septeven
Copy link

septeven commented Feb 27, 2019

Hello,
Would it be possible to add an option where color_thresholds will impact the font color as well ?
The best would be to be able to define whether you want only the value's font, the name's font or both to be impacted...

Hopefully you can add this in a future release.

Thanks

@kalkih kalkih added the enhancement label Feb 27, 2019

@kalkih

This comment has been minimized.

Copy link
Owner

kalkih commented Feb 27, 2019

Great suggestion,
I'll try to add this when I got some time over.

kalkih added a commit that referenced this issue Mar 18, 2019

kalkih added a commit that referenced this issue Mar 18, 2019

kalkih added a commit that referenced this issue Mar 18, 2019

@kalkih

This comment has been minimized.

Copy link
Owner

kalkih commented Mar 18, 2019

Three new color options are now available in the latest release v0.3.1

Two global options in the show option object icon_adaptive_color & name_adaptive_color, and one entity specific option state_adaptive_color.

# example
- type: custom:mini-graph-card
  show:
    icon_adaptive_color: true
    name_adaptive_color: true
  entities:
    - entity: sensor.example
      state_adaptive_color: true

@kalkih kalkih closed this Mar 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.