Fix default label color (#20232)

This commit is contained in:
Paul Bottein 2024-03-28 13:30:53 +01:00 committed by GitHub
parent 2978ca13c5
commit a08484f450
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View File

@ -104,13 +104,14 @@ class HaDataTableLabels extends LitElement {
flex-wrap: nowrap;
}
ha-label {
--ha-label-background-color: var(--color);
--ha-label-background-color: var(--color, var(--grey-color));
--ha-label-background-opacity: 0.5;
}
ha-button-menu {
border-radius: 10px;
}
.plus {
--ha-label-background-color: transparent;
border: 1px solid var(--divider-color);
}
`;

View File

@ -168,7 +168,7 @@ export class HaFilterLabels extends SubscribeMixin(LitElement) {
color: var(--error-color);
}
ha-label {
--ha-label-background-color: var(--color);
--ha-label-background-color: var(--color, var(--grey-color));
--ha-label-background-opacity: 0.5;
}
`,

View File

@ -199,7 +199,7 @@ export class HaLabelsPicker extends SubscribeMixin(LitElement) {
margin-bottom: 8px;
}
ha-input-chip {
--md-input-chip-selected-container-color: var(--color);
--md-input-chip-selected-container-color: var(--color, var(--grey-color));
--ha-input-chip-selected-container-opacity: 0.5;
}
`;