How to set border-radius on Tile card Features

2025.3 offers new features that need the border-radius

the Tile toggle was introduced, which is very nice and per request.

We can set it inline too, so a great development of Tile indeed. Thx Paul.

modding that toggle can be done with

# tile_toggle
card_mod:
  style:
    hui-card-features $:
      hui-card-feature $:
        hui-toggle-card-feature $:
          ha-control-switch$: |
            .switch {
              border-radius: var(--ha-card-border-radius) !important;
            }
            .button {
              --control-switch-border-radius: var(--ha-card-border-radius);
              opacity: 0.8;
            }

and results in:

of course as always, adapt to your own requirements

1 Like