1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 20:55:49 +00:00

updates transparent to be hex plus alpha of 0 (#5167)

This commit is contained in:
Zack Arnett
2020-03-12 14:47:48 -04:00
committed by GitHub
parent 9b220cc6ce
commit 73e0fd614e

View File

@@ -176,7 +176,9 @@ export class HuiMediaControlCard extends LitElement implements LovelaceCard {
};
const gradientStyle = {
"background-image": `linear-gradient(to right, ${this._backgroundColor}, transparent)`,
"background-image": `linear-gradient(to right, ${
this._backgroundColor
}, ${this._backgroundColor + "00"})`,
width: `${this._cardHeight}px`,
};