#Button Card State Font Sizing?

1 messages · Page 1 of 1 (latest)

toxic laurel
#

still very new to HA trying to customise dashboard to fit my NSpanel and the default fonts on most cards are too small .
Cant seem to workout how to change the sizing of the state font?
trying to work it out by using this
https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/hui-button-card.ts

GitHub

:lollipop: Frontend for Home Assistant. Contribute to home-assistant/frontend development by creating an account on GitHub.

manic pivot
#

You can try:

card_mod:
  style:
    .: |
      ha-card {
        font-size: 8px !important;
      }
      .state{
        font-size: 20px !important;
      }