mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 12:16:39 +00:00
updates transparent to be hex plus alpha of 0 (#5167)
This commit is contained in:
parent
9b220cc6ce
commit
73e0fd614e
@ -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`,
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user