Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions src/icons.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
import { html } from "lit";

export function streamioIcon() {
return html`<svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 800 800">
<defs>
<style>
.cls-1 {
fill: #fff;
}
.cls-2 {
fill: url(#linear-gradient);
}
</style>
<linearGradient id="linear-gradient" x1="381.69" y1="725.86" x2="420.59" y2="33.59" gradientTransform="translate(-165.69 400) rotate(-45)" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#1155d9"/>
<stop offset=".07" stop-color="#1c55dc"/>
<stop offset=".39" stop-color="#5058eb"/>
<stop offset=".54" stop-color="#655af1"/>
<stop offset=".76" stop-color="#7b5bf5"/>
</linearGradient>
</defs>
<g id="Layer_1-2" data-name="Layer 1">
<g>
<rect class="cls-2" x="102.55" y="102.55" width="594.89" height="594.89" rx="49.86" ry="49.86" transform="translate(400 -165.69) rotate(45)"/>
<path class="cls-1" d="m537.71,390.84l-179.4-124.69c-9.19-6.38-21.76.19-21.76,11.38v249.38c0,11.19,12.57,17.76,21.76,11.38l179.4-124.69c7.93-5.51,7.93-17.24,0-22.75Z"/>
</g>
</g>
</svg>
`;
}

export function disneyIcon() {
return html`<svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 30 30" style="enable-background:new 0 0 30 30;" xml:space="preserve">
Expand Down
3 changes: 2 additions & 1 deletion src/lg-remote-control.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { customElement } from 'lit/decorators.js';
import { HomeAssistant } from 'custom-card-helpers';

import "./editor";
import { lineOutIcon, amazonIcon, tvOpticIcon, daznIcon, disneyIcon, tvHeadphonesIcon, arcIcon, opticIcon, nowTvIcon } from "./icons";
import { lineOutIcon, amazonIcon, tvOpticIcon, daznIcon, disneyIcon, tvHeadphonesIcon, arcIcon, opticIcon, nowTvIcon, streamioIcon } from "./icons";
import { HomeAssistantFixed, WindowWithCards } from "./types";
import { CARD_TAG_NAME, CARD_VERSION, EDITOR_CARD_TAG_NAME } from "./const";
import { getMediaPlayerEntitiesByPlatform } from "./utils";
Expand Down Expand Up @@ -72,6 +72,7 @@ class LgRemoteControl extends LitElement {
"dazn": daznIcon(),
"nowtv": nowTvIcon(),
"amazon": amazonIcon(),
"streamio": streamioIcon(),
};
}

Expand Down