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:
@@ -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`,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user