Skip to content

Commit

Permalink
add color for overwrites_built_in
Browse files Browse the repository at this point in the history
  • Loading branch information
MindFreeze committed Oct 15, 2024
1 parent dd9b241 commit ae44e2f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/panels/config/integrations/ha-integration-list-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ export class HaIntegrationListItem extends ListItemBase {
>`
: ""}
${!this.integration.is_built_in
? html`<span class="custom"
? html`<span
class=${this.integration.overwrites_built_in
? "overwrites"
: "custom"}
><ha-svg-icon .path=${mdiPackageVariant}></ha-svg-icon
><simple-tooltip animation-delay="0" position="left"
>${this.hass.localize(
Expand Down Expand Up @@ -164,6 +167,9 @@ export class HaIntegrationListItem extends ListItemBase {
.custom {
color: var(--warning-color);
}
.overwrites {
color: var(--error-color);
}
`,
];
}
Expand Down

0 comments on commit ae44e2f

Please sign in to comment.