Fix more font sizes

This commit is contained in:
Wendelin 2025-04-28 17:44:21 +02:00
parent fd279ea2b4
commit cea80d9830
No known key found for this signature in database
4 changed files with 13 additions and 4 deletions

View File

@ -388,7 +388,10 @@ export class HaBaseTimeInput extends LitElement {
var(--mdc-typography-font-family, Roboto, sans-serif) var(--mdc-typography-font-family, Roboto, sans-serif)
); );
font-size: var(--mdc-typography-body2-font-size, var(--ha-font-size-s)); font-size: var(--mdc-typography-body2-font-size, var(--ha-font-size-s));
line-height: var(--mdc-typography-body2-line-height, 1.25rem); line-height: var(
--mdc-typography-body2-line-height,
var(--ha-line-height-normal)
);
font-weight: var( font-weight: var(
--mdc-typography-body2-font-weight, --mdc-typography-body2-font-weight,
var(--ha-font-weight-normal) var(--ha-font-weight-normal)

View File

@ -15,7 +15,10 @@ export const configFlowContentStyles = css`
var(--mdc-typography-font-family, Roboto, sans-serif) var(--mdc-typography-font-family, Roboto, sans-serif)
); );
font-size: var(--mdc-typography-headline6-font-size, var(--ha-font-size-l)); font-size: var(--mdc-typography-headline6-font-size, var(--ha-font-size-l));
line-height: var(--mdc-typography-headline6-line-height, 2rem); line-height: var(
--mdc-typography-headline6-line-height,
var(--ha-line-height-expanded)
);
font-weight: var( font-weight: var(
--mdc-typography-headline6-font-weight, --mdc-typography-headline6-font-weight,
var(--ha-font-weight-semibold) var(--ha-font-weight-semibold)

View File

@ -775,7 +775,10 @@ class AddIntegrationDialog extends LitElement {
--mdc-typography-headline6-font-size, --mdc-typography-headline6-font-size,
var(--ha-font-size-l) var(--ha-font-size-l)
); );
line-height: var(--mdc-typography-headline6-line-height, 2rem); line-height: var(
--mdc-typography-headline6-line-height,
var(--ha-line-height-expanded)
);
font-weight: var( font-weight: var(
--mdc-typography-headline6-font-weight, --mdc-typography-headline6-font-weight,
var(--ha-font-weight-semibold) var(--ha-font-weight-semibold)

View File

@ -222,7 +222,7 @@ export class HuiCalendarCard extends LitElement implements LovelaceCard {
.header { .header {
color: var(--ha-card-header-color, var(--primary-text-color)); color: var(--ha-card-header-color, var(--primary-text-color));
font-size: var(--ha-card-header-font-size, 24px); font-size: var(--ha-card-header-font-size, var(--ha-font-size-2xl));
line-height: var(--ha-line-height-condensed); line-height: var(--ha-line-height-condensed);
padding-top: 16px; padding-top: 16px;
padding-left: 8px; padding-left: 8px;