You can add border-style: none
to the button-card template under styles > card. :
styles:
card:
- padding: 0px
- border-radius: 50%
- box-shadow: none
- -webkit-box-shadow: none
- border-style: none # š just add this line
This will remove all borders in the media player card. No need to change each icon or your own theme Make sure you refresh your Lovelace dashboard so itāll apply the updated button-card template.
edit: you might also need to apply that to mod-card section in the decluttering template where mini media player is judging by your screenshot. Look for custom:mod-card
part in the decluttering template and add border-style: none
there. Like this:
- type: 'custom:mod-card'
style:
'--mini-media-player-icon-color': var(--text-color) #change or remove to use own color
'--mini-media-player-base-color': var(--text-color) #change or remove to use own color
'--mini-media-player-accent-color': var(--music-accent-color) #change or remove to use own color
border-top-left-radius: 0px !important
border-top-right-radius: 0px !important
width: 100%
transform: 'translate(0%, -100%)'
border-style: none # š just add this line