Use code font family variable in combo-box (#25243)

This commit is contained in:
Paul Bottein 2025-04-30 16:17:01 +02:00
parent e5f41ceb3e
commit 46cc254f77
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ const DOMAIN_STYLE = styleMap({
}); });
const ENTITY_ID_STYLE = styleMap({ const ENTITY_ID_STYLE = styleMap({
fontFamily: "var(--code-font-family, monospace)", fontFamily: "var(--ha-font-family-code)",
fontSize: "var(--ha-font-size-xs)", fontSize: "var(--ha-font-size-xs)",
}); });

View File

@ -48,7 +48,7 @@ interface StatisticItem {
const TYPE_ORDER = ["entity", "external", "no_state"] as StatisticItemType[]; const TYPE_ORDER = ["entity", "external", "no_state"] as StatisticItemType[];
const ENTITY_ID_STYLE = styleMap({ const ENTITY_ID_STYLE = styleMap({
fontFamily: "var(--code-font-family, monospace)", fontFamily: "var(--ha-font-family-code)",
fontSize: "11px", fontSize: "11px",
}); });