Mush-card-primary-font-size but for mushroom template card?

The mush-card-primary-font-size attribute works in my themes.yaml for mushroom entity cards but not for the mushroom template card. Any ideas what attribute I should use for that card, please?

Screenshot above shows the template card on the left, entity card on the right, with the theme applied to the dashboard.

I have tried a few variations like mush-tile-info-primary-font-size without success.

Thanks in advance of your kind response.
If possible, I would prefer not to use card-mod in this instance.

Try --tile-info-primary-font-size

Sadly not, with or without the leading double hyphens.

FWIW, in case anyone else is looking to use a theme to modify the mushroom-entity-card, these do work (currently):

LargerFontTheme:
  mush-card-primary-font-size: 17px
  mush-card-primary-line-height: 17px
  mush-card-secondary-color: gray
  mush-card-secondary-font-size: 14px
  mush-card-secondary-line-height: 16px
  mush-card-primary-font-weight: 500
  mush-card-secondary-font-weight: 600

Test

ha-tile-info-primary-font-size: ‘40px’ Worked for me!

An FYI

Theming

This card is not compatible with Mushroom themes because it based on the official Tile card. If you want a theme compatible card, use the Legacy Template Card.

Perfect, thank you.
I wonder if the rest of the mushroom cards will follow suit?

1 Like

Probably not. The Template card is more aligned with the standard Tile card. The rest of the Mushroom cards have not changed the way the CSS styles are applied.

It may change though :grin: