From 43a422cdca1a31c6ac4338a7ccecf5eb581b69c3 Mon Sep 17 00:00:00 2001 From: Yosi Levy <37745463+yosilevy@users.noreply.github.com> Date: Mon, 6 May 2024 16:39:36 +0300 Subject: [PATCH] Font updates in new filters (#20482) * Style changes * Fixes --- src/components/chips/ha-input-chip.ts | 1 + src/components/ha-menu-item.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/chips/ha-input-chip.ts b/src/components/chips/ha-input-chip.ts index f32d89848b..c48ecb1d22 100644 --- a/src/components/chips/ha-input-chip.ts +++ b/src/components/chips/ha-input-chip.ts @@ -20,6 +20,7 @@ export class HaInputChip extends MdInputChip { 0.15 ); --ha-input-chip-selected-container-opacity: 1; + --md-input-chip-label-text-font: Roboto, sans-serif; } /** Set the size of mdc icons **/ ::slotted([slot="icon"]) { diff --git a/src/components/ha-menu-item.ts b/src/components/ha-menu-item.ts index 7b5b32e7d3..662800f1dd 100644 --- a/src/components/ha-menu-item.ts +++ b/src/components/ha-menu-item.ts @@ -25,6 +25,7 @@ export class HaMenuItem extends MdMenuItem { --md-sys-color-on-primary-container: var(--primary-text-color); --md-sys-color-on-secondary-container: var(--primary-text-color); + --md-menu-item-label-text-font: Roboto, sans-serif; } :host(.warning) { --md-menu-item-label-text-color: var(--error-color);