Stop setting ha-card elements to transparent automatically.
The current setting overrides styles set in other cards (notably custom:button-card). Automatically setting transparency should generally not be necessary, since most cards all have the same background. If they don't (or if the background is an image), card-mod can be used to set transparency.
As it stands now, the Javascript automatically changes any background that someone might have set to their card (and there's no way to override it, save for adding in more Javascript).
Stop setting ha-card elements to transparent automatically.
The current setting overrides styles set in other cards (notably custom:button-card). Automatically setting transparency should generally not be necessary, since most cards all have the same background. If they don't (or if the background is an image), card-mod can be used to set transparency.
As it stands now, the Javascript automatically changes any background that someone might have set to their card (and there's no way to override it, save for adding in more Javascript).