Use ha-font-weight typography css tokens (#25374)

Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
This commit is contained in:
Wendelin
2025-05-08 17:11:53 +02:00
committed by GitHub
parent 6692d9c6aa
commit ba4ec960c8
158 changed files with 219 additions and 189 deletions

View File

@@ -389,7 +389,10 @@ export class HaBaseTimeInput extends LitElement {
);
font-size: var(--mdc-typography-body2-font-size, 0.875rem);
line-height: var(--mdc-typography-body2-line-height, 1.25rem);
font-weight: var(--mdc-typography-body2-font-weight, 400);
font-weight: var(
--mdc-typography-body2-font-weight,
var(--ha-font-weight-normal)
);
letter-spacing: var(
--mdc-typography-body2-letter-spacing,
0.0178571429em