Use ha-font-size typography css tokens (#25361)

This commit is contained in:
Wendelin
2025-05-09 13:47:25 +02:00
committed by GitHub
parent 06bd1ae4cd
commit 3058fcad46
184 changed files with 303 additions and 285 deletions

View File

@@ -387,7 +387,7 @@ export class HaBaseTimeInput extends LitElement {
--mdc-typography-body2-font-family,
var(--mdc-typography-font-family, var(--ha-font-family-body))
);
font-size: var(--mdc-typography-body2-font-size, 0.875rem);
font-size: var(--mdc-typography-body2-font-size, var(--ha-font-size-s));
line-height: var(--mdc-typography-body2-line-height, 1.25rem);
font-weight: var(
--mdc-typography-body2-font-weight,