Rename font-weight-semibold to medium (#25224)

This commit is contained in:
Wendelin 2025-04-29 16:50:30 +02:00 committed by GitHub
parent 574f9e8936
commit 29c11978b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ export class HaSlTabGroup extends TabGroup {
--sl-color-neutral-600: inherit;
--sl-font-weight-semibold: var(--ha-font-weight-semibold);
--sl-font-weight-semibold: var(--ha-font-weight-medium);
--sl-font-size-small: var(--ha-font-size-m);
--sl-color-primary-600: var(

View File

@ -48,7 +48,7 @@ export const haStyle = css`
overflow: hidden;
text-overflow: ellipsis;
font-size: var(--ha-font-size-xl);
font-weight: var(--ha-font-weight-semibold);
font-weight: var(--ha-font-weight-medium);
line-height: var(--ha-line-height-normal);
}

View File

@ -21,13 +21,13 @@ export const typographyStyles = css`
--ha-font-weight-light: 300;
--ha-font-weight-normal: 400;
--ha-font-weight-semibold: 500;
--ha-font-weight-medium: 500;
--ha-font-weight-bold: 700;
--ha-font-family-heading: var(--ha-font-family-body);
--ha-font-weight-body: var(--ha-font-weight-normal);
--ha-font-weight-heading: var(--ha-font-weight-bold);
--ha-font-weight-action: var(--ha-font-weight-semibold);
--ha-font-weight-action: var(--ha-font-weight-medium);
--ha-line-height-condensed: 1.2;
--ha-line-height-normal: 1.6;