nervetattoo / banner-card

A fluffy banner card for Home Assistant 🥰
MIT License
608 stars 58 forks source link

Help: Theming Buttons #49

Open DickSwart opened 5 years ago

DickSwart commented 5 years ago

Hope someone can help, is it possible to theme the buttons? I have the following values in my custom theme but the buttons stay white.

    paper-toggle-button-checked-button-color: '#4ab52f'
    paper-toggle-button-checked-bar-color: '#4ab52f'
    paper-toggle-button-checked-ink-color: '#4ab52f'
friendodevil commented 5 years ago

would also love to gain color control per state context. See issue #24

nervetattoo commented 4 years ago

Should be possible using card-mod and then setting mwc-button { --mdc-theme-primary: #4ab52f; }. I guess you'll just have to experiment with that is required using card-mod. Please post back the solution to this issue if you find one so others can learn.