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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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`,
};