This commit is contained in:
Ludeeus 2021-10-28 13:11:17 +00:00
parent 60b09dd57d
commit d5c64b78d9
2 changed files with 3 additions and 10 deletions

View File

@ -102,6 +102,7 @@ export class HaChip extends LitElement {
.mdc-chip:not(.outlined) .mdc-chip__icon.mdc-chip__icon--leading { .mdc-chip:not(.outlined) .mdc-chip__icon.mdc-chip__icon--leading {
margin-left: -12px !important; margin-left: -12px !important;
margin-right: -2px;
} }
.mdc-chip.outlined ha-svg-icon, .mdc-chip.outlined ha-svg-icon,

View File

@ -272,17 +272,10 @@ export class QuickBar extends LitElement {
<span> <span>
<ha-chip <ha-chip
.label=${item.categoryText} .label=${item.categoryText}
hasIcon .leadingIcon=${item.iconPath}
class="command-category ${item.categoryKey}" class="command-category ${item.categoryKey}"
> >
${item.iconPath </ha-chip>
? html`<ha-svg-icon
.path=${item.iconPath}
slot="icon"
></ha-svg-icon>`
: ""}
${item.categoryText}</ha-chip
>
</span> </span>
<span class="command-text">${item.primaryText}</span> <span class="command-text">${item.primaryText}</span>
@ -623,7 +616,6 @@ export class QuickBar extends LitElement {
} }
.command-category { .command-category {
--ha-chip-icon-color: #585858;
--ha-chip-text-color: #212121; --ha-chip-text-color: #212121;
} }