mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Add icons to info panel (#5501)
* Add icons to info panel * Update src/panels/developer-tools/info/integrations-card.ts Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
bd98ce8c25
commit
b632ea6f86
@ -30,6 +30,16 @@ class IntegrationsCard extends LitElement {
|
||||
${this._sortedIntegrations(this.hass!.config.components).map(
|
||||
(domain) => html`
|
||||
<tr>
|
||||
<td>
|
||||
<img
|
||||
loading="lazy"
|
||||
src="https://brands.home-assistant.io/_/${domain}/icon.png"
|
||||
srcset="
|
||||
https://brands.home-assistant.io/_/${domain}/icon@2x.png 2x
|
||||
"
|
||||
referrerpolicy="no-referrer"
|
||||
/>
|
||||
</td>
|
||||
<td>${domain}</td>
|
||||
<td>
|
||||
<a
|
||||
@ -67,6 +77,11 @@ class IntegrationsCard extends LitElement {
|
||||
td:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
img {
|
||||
display: block;
|
||||
max-height: 24px;
|
||||
max-width: 24px;
|
||||
}
|
||||
a {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user