Update font-size

This commit is contained in:
Wendelin 2025-04-28 14:58:22 +02:00
parent 6442606fc5
commit 404d6c75b5
No known key found for this signature in database
159 changed files with 249 additions and 253 deletions

View File

@ -86,7 +86,7 @@ class HcLayout extends LitElement {
.card-header { .card-header {
color: var(--ha-card-header-color, var(--primary-text-color)); color: var(--ha-card-header-color, var(--primary-text-color));
font-family: var(--ha-card-header-font-family, inherit); font-family: var(--ha-card-header-font-family, inherit);
font-size: var(--ha-card-header-font-size, 24px); font-size: var(--ha-card-header-font-size, var(--ha-font-size-2xl);
letter-spacing: -0.012em; letter-spacing: -0.012em;
line-height: 32px; line-height: 32px;
padding: 24px 16px 16px; padding: 24px 16px 16px;
@ -98,7 +98,7 @@ class HcLayout extends LitElement {
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
} }
.subtitle { .subtitle {
font-size: 14px; font-size: var(--ha-font-size-m);
color: var(--secondary-text-color); color: var(--secondary-text-color);
line-height: initial; line-height: initial;
} }
@ -135,7 +135,7 @@ class HcLayout extends LitElement {
.footer { .footer {
text-align: center; text-align: center;
font-size: 12px; font-size: var(--ha-font-size-s);
padding: 8px 0 24px; padding: 8px 0 24px;
color: var(--secondary-text-color); color: var(--secondary-text-color);
} }

View File

@ -29,7 +29,7 @@ class HcLaunchScreen extends LitElement {
display: block; display: block;
height: 100vh; height: 100vh;
background-color: #f2f4f9; background-color: #f2f4f9;
font-size: 24px; font-size: var(--ha-font-size-2xl);
} }
.container { .container {
display: flex; display: flex;

View File

@ -37,12 +37,12 @@ class PageDescription extends HaMarkdown {
border-bottom: 1px solid var(--secondary-background-color); border-bottom: 1px solid var(--secondary-background-color);
} }
.title { .title {
font-size: 42px; font-size: var(--ha-font-size-5xl);
line-height: 56px; line-height: 56px;
padding-bottom: 8px; padding-bottom: 8px;
} }
.subtitle { .subtitle {
font-size: 18px; font-size: var(--ha-font-size-l);
line-height: 24px; line-height: 24px;
} }
.root { .root {

View File

@ -34,7 +34,7 @@ class HaDemoOptions extends LitElement {
height: 64px; height: 64px;
padding: 0 16px; padding: 0 16px;
pointer-events: none; pointer-events: none;
font-size: 20px; font-size: var(--ha-font-size-xl);
} }
`, `,
]; ];

View File

@ -250,7 +250,7 @@ class HaGallery extends LitElement {
} }
.page-footer .header { .page-footer .header {
font-size: 16px; font-size: var(--ha-font-size-l);
font-weight: 500; font-weight: 500;
line-height: 28px; line-height: 28px;
text-align: center; text-align: center;

View File

@ -105,7 +105,7 @@ export class DemoHaHsColorPicker extends LitElement {
width: 400px; width: 400px;
} }
.value { .value {
font-size: 22px; font-size: var(--ha-font-size-2xl);
font-weight: bold; font-weight: bold;
margin: 0 0 12px 0; margin: 0 0 12px 0;
} }

View File

@ -1280,12 +1280,12 @@ class HassioAddonInfo extends LitElement {
padding-left: 8px; padding-left: 8px;
padding-inline-start: 8px; padding-inline-start: 8px;
padding-inline-end: initial; padding-inline-end: initial;
font-size: 24px; font-size: var(--ha-font-size-2xl);
color: var(--ha-card-header-color, var(--primary-text-color)); color: var(--ha-card-header-color, var(--primary-text-color));
} }
.addon-version { .addon-version {
float: var(--float-end); float: var(--float-end);
font-size: 15px; font-size: var(--ha-font-size-m);
vertical-align: middle; vertical-align: middle;
} }
.errors { .errors {

View File

@ -401,7 +401,7 @@ export class HassioBackups extends LitElement {
margin-top: 20px; margin-top: 20px;
} }
.header-toolbar .selected-txt { .header-toolbar .selected-txt {
font-size: 16px; font-size: var(--ha-font-size-l);
} }
.header-toolbar .header-btns { .header-toolbar .header-btns {
margin-right: -12px; margin-right: -12px;

View File

@ -340,7 +340,7 @@ class HassioIngressView extends LitElement {
.header { .header {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 16px; font-size: var(--ha-font-size-l);
height: 40px; height: 40px;
padding: 0 16px; padding: 0 16px;
pointer-events: none; pointer-events: none;

View File

@ -93,7 +93,7 @@ export class HaAuthorize extends litLocalizeLiteMixin(LitElement) {
background-color: var(--primary-background-color, #fafafa); background-color: var(--primary-background-color, #fafafa);
} }
p { p {
font-size: 14px; font-size: var(--ha-font-size-m);
line-height: 20px; line-height: 20px;
} }
.card-content { .card-content {
@ -151,7 +151,7 @@ export class HaAuthorize extends litLocalizeLiteMixin(LitElement) {
margin-inline-start: initial; margin-inline-start: initial;
} }
h1 { h1 {
font-size: 28px; font-size: var(--ha-font-size-3xl);
font-weight: 400; font-weight: 400;
margin-top: 16px; margin-top: 16px;
margin-bottom: 16px; margin-bottom: 16px;

View File

@ -57,7 +57,7 @@ export class HaPickAuthProvider extends LitElement {
position: relative; position: relative;
z-index: 1; z-index: 1;
text-align: center; text-align: center;
font-size: 14px; font-size: var(--ha-font-size-m);
font-weight: 400; font-weight: 400;
line-height: 20px; line-height: 20px;
} }

View File

@ -715,7 +715,7 @@ export class HaChartBase extends LitElement {
max-height: 60%; max-height: 60%;
overflow-y: auto; overflow-y: auto;
padding: 12px 0 0; padding: 12px 0 0;
font-size: 12px; font-size: var(--ha-font-size-s);
color: var(--primary-text-color); color: var(--primary-text-color);
} }
.chart-legend ul { .chart-legend ul {

View File

@ -595,7 +595,7 @@ export class HaAssistChat extends LitElement {
} }
.message { .message {
white-space: pre-line; white-space: pre-line;
font-size: 18px; font-size: var(--ha-font-size-l);
clear: both; clear: both;
margin: 8px 0; margin: 8px 0;
padding: 8px; padding: 8px;
@ -604,7 +604,7 @@ export class HaAssistChat extends LitElement {
@media all and (max-width: 450px), all and (max-height: 500px) { @media all and (max-width: 450px), all and (max-height: 500px) {
.message { .message {
font-size: 16px; font-size: var(--ha-font-size-l);
} }
} }

View File

@ -95,7 +95,7 @@ export class HaBadge extends LitElement {
text-align: center; text-align: center;
} }
.label { .label {
font-size: 10px; font-size: var(--ha-font-size-xs);
font-style: normal; font-style: normal;
font-weight: 500; font-weight: 500;
line-height: 10px; line-height: 10px;
@ -103,7 +103,7 @@ export class HaBadge extends LitElement {
color: var(--secondary-text-color); color: var(--secondary-text-color);
} }
.content { .content {
font-size: 12px; font-size: var(--ha-font-size-s);
font-style: normal; font-style: normal;
font-weight: 500; font-weight: 500;
line-height: 16px; line-height: 16px;

View File

@ -19,12 +19,12 @@ export class HaComboBoxItem extends HaMdListItem {
} }
[slot="headline"] { [slot="headline"] {
line-height: 22px; line-height: 22px;
font-size: 14px; font-size: var(--ha-font-size-m);
white-space: nowrap; white-space: nowrap;
} }
[slot="supporting-text"] { [slot="supporting-text"] {
line-height: 18px; line-height: 18px;
font-size: 12px; font-size: var(--ha-font-size-s);
white-space: nowrap; white-space: nowrap;
} }
::slotted(state-badge), ::slotted(state-badge),

View File

@ -179,7 +179,7 @@ export class HaControlSelectMenu extends SelectBase {
--control-select-menu-padding: 6px 10px; --control-select-menu-padding: 6px 10px;
--mdc-icon-size: 20px; --mdc-icon-size: 20px;
--ha-ripple-color: var(--secondary-text-color); --ha-ripple-color: var(--secondary-text-color);
font-size: 14px; font-size: var(--ha-font-size-m);
line-height: 1.4; line-height: 1.4;
width: auto; width: auto;
color: var(--primary-text-color); color: var(--primary-text-color);

View File

@ -368,7 +368,7 @@ export class HaControlSlider extends LitElement {
--control-slider-background-opacity: 0.2; --control-slider-background-opacity: 0.2;
--control-slider-thickness: 40px; --control-slider-thickness: 40px;
--control-slider-border-radius: 10px; --control-slider-border-radius: 10px;
--control-slider-tooltip-font-size: 14px; --control-slider-tooltip-font-size: var(--ha-font-size-m);
height: var(--control-slider-thickness); height: var(--control-slider-thickness);
width: 100%; width: 100%;
border-radius: var(--control-slider-border-radius); border-radius: var(--control-slider-border-radius);

View File

@ -53,12 +53,12 @@ export class HaDialogHeader extends LitElement {
white-space: nowrap; white-space: nowrap;
} }
.header-title { .header-title {
font-size: 22px; font-size: var(--ha-font-size-xl);
line-height: 28px; line-height: 28px;
font-weight: 400; font-weight: 400;
} }
.header-subtitle { .header-subtitle {
font-size: 14px; font-size: var(--ha-font-size-m);
line-height: 20px; line-height: 20px;
color: var(--secondary-text-color); color: var(--secondary-text-color);
} }

View File

@ -218,7 +218,7 @@ export class HaExpansionPanel extends LitElement {
.secondary { .secondary {
display: block; display: block;
color: var(--secondary-text-color); color: var(--secondary-text-color);
font-size: 12px; font-size: var(--ha-font-size-s);
} }
`; `;
} }

View File

@ -294,7 +294,7 @@ export class HaFileUpload extends LitElement {
} }
.supports { .supports {
color: var(--secondary-text-color); color: var(--secondary-text-color);
font-size: 12px; font-size: var(--ha-font-size-s);
} }
:host([disabled]) .secondary { :host([disabled]) .secondary {
color: var(--disabled-text-color); color: var(--disabled-text-color);
@ -333,7 +333,7 @@ export class HaFileUpload extends LitElement {
background: none; background: none;
border: none; border: none;
padding: 0; padding: 0;
font-size: 14px; font-size: var(--ha-font-size-m);
color: var(--primary-color); color: var(--primary-color);
text-decoration: underline; text-decoration: underline;
cursor: pointer; cursor: pointer;

View File

@ -209,7 +209,7 @@ export class HaFilterBlueprints extends LitElement {
box-sizing: border-box; box-sizing: border-box;
border-radius: 50%; border-radius: 50%;
font-weight: 400; font-weight: 400;
font-size: 11px; font-size: var(--ha-font-size-xs);
background-color: var(--primary-color); background-color: var(--primary-color);
line-height: 16px; line-height: 16px;
text-align: center; text-align: center;

View File

@ -304,7 +304,7 @@ export class HaFilterCategories extends SubscribeMixin(LitElement) {
box-sizing: border-box; box-sizing: border-box;
border-radius: 50%; border-radius: 50%;
font-weight: 400; font-weight: 400;
font-size: 11px; font-size: var(--ha-font-size-xs);
background-color: var(--primary-color); background-color: var(--primary-color);
line-height: 16px; line-height: 16px;
text-align: center; text-align: center;

View File

@ -233,7 +233,7 @@ export class HaFilterDevices extends LitElement {
box-sizing: border-box; box-sizing: border-box;
border-radius: 50%; border-radius: 50%;
font-weight: 400; font-weight: 400;
font-size: 11px; font-size: var(--ha-font-size-xs);
background-color: var(--primary-color); background-color: var(--primary-color);
line-height: 16px; line-height: 16px;
text-align: center; text-align: center;

View File

@ -190,7 +190,7 @@ export class HaFilterDomains extends LitElement {
box-sizing: border-box; box-sizing: border-box;
border-radius: 50%; border-radius: 50%;
font-weight: 400; font-weight: 400;
font-size: 11px; font-size: var(--ha-font-size-xs);
background-color: var(--primary-color); background-color: var(--primary-color);
line-height: 16px; line-height: 16px;
text-align: center; text-align: center;

View File

@ -247,7 +247,7 @@ export class HaFilterEntities extends LitElement {
box-sizing: border-box; box-sizing: border-box;
border-radius: 50%; border-radius: 50%;
font-weight: 400; font-weight: 400;
font-size: 11px; font-size: var(--ha-font-size-xs);
background-color: var(--primary-color); background-color: var(--primary-color);
line-height: 16px; line-height: 16px;
text-align: center; text-align: center;

View File

@ -304,7 +304,7 @@ export class HaFilterFloorAreas extends LitElement {
box-sizing: border-box; box-sizing: border-box;
border-radius: 50%; border-radius: 50%;
font-weight: 400; font-weight: 400;
font-size: 11px; font-size: var(--ha-font-size-xs);
background-color: var(--primary-color); background-color: var(--primary-color);
line-height: 16px; line-height: 16px;
text-align: center; text-align: center;

View File

@ -196,7 +196,7 @@ export class HaFilterIntegrations extends LitElement {
box-sizing: border-box; box-sizing: border-box;
border-radius: 50%; border-radius: 50%;
font-weight: 400; font-weight: 400;
font-size: 11px; font-size: var(--ha-font-size-xs);
background-color: var(--primary-color); background-color: var(--primary-color);
line-height: 16px; line-height: 16px;
text-align: center; text-align: center;

View File

@ -234,7 +234,7 @@ export class HaFilterLabels extends SubscribeMixin(LitElement) {
box-sizing: border-box; box-sizing: border-box;
border-radius: 50%; border-radius: 50%;
font-weight: 400; font-weight: 400;
font-size: 11px; font-size: var(--ha-font-size-xs);
background-color: var(--primary-color); background-color: var(--primary-color);
line-height: 16px; line-height: 16px;
text-align: center; text-align: center;

View File

@ -178,7 +178,7 @@ export class HaFilterStates extends LitElement {
box-sizing: border-box; box-sizing: border-box;
border-radius: 50%; border-radius: 50%;
font-weight: 400; font-weight: 400;
font-size: 11px; font-size: var(--ha-font-size-xs);
background-color: var(--primary-color); background-color: var(--primary-color);
line-height: 16px; line-height: 16px;
text-align: center; text-align: center;

View File

@ -46,7 +46,7 @@ export class HaHeaderBar extends LitElement {
flex: none; flex: none;
} }
.mdc-top-app-bar__title { .mdc-top-app-bar__title {
font-size: 20px; font-size: var(--ha-font-size-xl);
padding-inline-start: 24px; padding-inline-start: 24px;
padding-inline-end: initial; padding-inline-end: initial;
} }

View File

@ -34,7 +34,7 @@ export class HaBadge extends LitElement {
align-items: center; align-items: center;
gap: 3px; gap: 3px;
color: var(--ha-heading-badge-text-color, var(--secondary-text-color)); color: var(--ha-heading-badge-text-color, var(--secondary-text-color));
font-size: var(--ha-heading-badge-font-size, 14px); font-size: var(--ha-heading-badge-font-size, var(--ha-font-size-m));
font-weight: var(--ha-heading-badge-font-weight, 400); font-weight: var(--ha-heading-badge-font-weight, 400);
line-height: var(--ha-heading-badge-line-height, 20px); line-height: var(--ha-heading-badge-line-height, 20px);
letter-spacing: 0.1px; letter-spacing: 0.1px;

View File

@ -32,7 +32,7 @@ class HaLabel extends LitElement {
display: inline-flex; display: inline-flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
font-size: 12px; font-size: var(--ha-font-size-s);
font-weight: 500; font-weight: 500;
line-height: 16px; line-height: 16px;
letter-spacing: 0.1px; letter-spacing: 0.1px;

View File

@ -154,7 +154,7 @@ export class HaSelectBox extends LitElement {
} }
.option .content .text .label { .option .content .text .label {
color: var(--primary-text-color); color: var(--primary-text-color);
font-size: 14px; font-size: var(--ha-font-size-m);
font-weight: 400; font-weight: 400;
line-height: 20px; line-height: 20px;
overflow: hidden; overflow: hidden;
@ -163,7 +163,7 @@ export class HaSelectBox extends LitElement {
} }
.option .content .text .description { .option .content .text .description {
color: var(--secondary-text-color); color: var(--secondary-text-color);
font-size: 13px; font-size: var(--ha-font-size-s);
font-weight: 400; font-weight: 400;
line-height: 16px; line-height: 16px;
} }

View File

@ -247,7 +247,7 @@ export class HaMediaSelector extends LitElement {
--mdc-icon-size: calc(var(--media-browse-item-size, 175px) * 0.4); --mdc-icon-size: calc(var(--media-browse-item-size, 175px) * 0.4);
} }
.title { .title {
font-size: 16px; font-size: var(--ha-font-size-l);
padding-top: 16px; padding-top: 16px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;

View File

@ -290,7 +290,7 @@ export class HaSelectorSelector extends LitElement {
padding: 0px 16px 16px 16px; padding: 0px 16px 16px 16px;
} }
.title { .title {
font-size: 16px; font-size: var(--ha-font-size-l);
padding-top: 16px; padding-top: 16px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;

View File

@ -837,7 +837,7 @@ class HaSidebar extends SubscribeMixin(LitElement) {
--sidebar-menu-button-background-color, --sidebar-menu-button-background-color,
inherit inherit
); );
font-size: 20px; font-size: var(--ha-font-size-xl);
align-items: center; align-items: center;
padding-left: calc(4px + env(safe-area-inset-left)); padding-left: calc(4px + env(safe-area-inset-left));
padding-inline-start: calc(4px + env(safe-area-inset-left)); padding-inline-start: calc(4px + env(safe-area-inset-left));
@ -940,7 +940,7 @@ class HaSidebar extends SubscribeMixin(LitElement) {
display: none; display: none;
max-width: calc(100% - 56px); max-width: calc(100% - 56px);
font-weight: 500; font-weight: 500;
font-size: 14px; font-size: var(--ha-font-size-m);
} }
:host([expanded]) ha-md-list-item .item-text { :host([expanded]) ha-md-list-item .item-text {
display: block; display: block;
@ -997,7 +997,7 @@ class HaSidebar extends SubscribeMixin(LitElement) {
.subheader { .subheader {
color: var(--sidebar-text-color); color: var(--sidebar-text-color);
font-weight: 500; font-weight: 500;
font-size: 14px; font-size: var(--ha-font-size-m);
padding: 16px; padding: 16px;
white-space: nowrap; white-space: nowrap;
} }

View File

@ -24,7 +24,7 @@ export class HaTopAppBarFixed extends TopAppBarFixedBase {
); );
} }
.mdc-top-app-bar__title { .mdc-top-app-bar__title {
font-size: 20px; font-size: var(--ha-font-size-xl);
padding-inline-start: 24px; padding-inline-start: 24px;
padding-inline-end: initial; padding-inline-end: initial;
} }

View File

@ -321,7 +321,7 @@ export class TopAppBarBaseBase extends BaseElement {
overflow: auto; overflow: auto;
} }
.mdc-top-app-bar__title { .mdc-top-app-bar__title {
font-size: 20px; font-size: var(--ha-font-size-xl);
padding-inline-start: 24px; padding-inline-start: 24px;
padding-inline-end: initial; padding-inline-end: initial;
} }

View File

@ -688,7 +688,7 @@ export class HaMap extends ReactiveElement {
border-radius: 20px; border-radius: 20px;
text-align: center; text-align: center;
color: var(--text-primary-color); color: var(--text-primary-color);
font-size: 14px; font-size: var(--ha-font-size-m);
} }
.marker-cluster span { .marker-cluster span {

View File

@ -959,7 +959,7 @@ export class HaMediaPlayerBrowse extends LitElement {
padding-top: 16px; padding-top: 16px;
} }
.breadcrumb .title { .breadcrumb .title {
font-size: 32px; font-size: var(--ha-font-size-4xl);
line-height: 1.2; line-height: 1.2;
font-weight: bold; font-weight: bold;
margin: 0; margin: 0;
@ -970,7 +970,7 @@ export class HaMediaPlayerBrowse extends LitElement {
padding-right: 8px; padding-right: 8px;
} }
.breadcrumb .previous-title { .breadcrumb .previous-title {
font-size: 14px; font-size: var(--ha-font-size-m);
padding-bottom: 8px; padding-bottom: 8px;
color: var(--secondary-text-color); color: var(--secondary-text-color);
overflow: hidden; overflow: hidden;
@ -979,7 +979,7 @@ export class HaMediaPlayerBrowse extends LitElement {
--mdc-icon-size: 14px; --mdc-icon-size: 14px;
} }
.breadcrumb .subtitle { .breadcrumb .subtitle {
font-size: 16px; font-size: var(--ha-font-size-l);
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
margin-bottom: 0; margin-bottom: 0;
@ -1138,7 +1138,7 @@ export class HaMediaPlayerBrowse extends LitElement {
} }
.child .title { .child .title {
font-size: 16px; font-size: var(--ha-font-size-l);
padding-top: 16px; padding-top: 16px;
padding-left: 2px; padding-left: 2px;
overflow: hidden; overflow: hidden;
@ -1203,7 +1203,7 @@ export class HaMediaPlayerBrowse extends LitElement {
} }
:host([narrow]) .breadcrumb .title { :host([narrow]) .breadcrumb .title {
font-size: 24px; font-size: var(--ha-font-size-2xl);
} }
:host([narrow]) .header { :host([narrow]) .header {
padding: 0; padding: 0;

View File

@ -35,14 +35,14 @@ export class HaTileInfo extends LitElement {
} }
.primary { .primary {
font-weight: 500; font-weight: 500;
font-size: 14px; font-size: var(--ha-font-size-m);
line-height: 20px; line-height: 20px;
letter-spacing: 0.1px; letter-spacing: 0.1px;
color: var(--primary-text-color); color: var(--primary-text-color);
} }
.secondary { .secondary {
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: var(--ha-font-size-s);
line-height: 16px; line-height: 16px;
letter-spacing: 0.4px; letter-spacing: 0.4px;
color: var(--primary-text-color); color: var(--primary-text-color);

View File

@ -164,7 +164,7 @@ export class HatGraphNode extends LitElement {
stroke-width: 0; stroke-width: 0;
} }
.number text { .number text {
font-size: 10px; font-size: var(--ha-font-size-xs);
fill: var(--text-primary-color); fill: var(--text-primary-color);
} }
path.icon { path.icon {

View File

@ -228,7 +228,7 @@ export class DialogEnterCode
height: 56px; height: 56px;
--control-button-border-radius: 28px; --control-button-border-radius: 28px;
--mdc-icon-size: 24px; --mdc-icon-size: 24px;
font-size: 24px; font-size: var(--ha-font-size-2xl);
} }
.submit { .submit {
--control-button-background-color: var(--green-color); --control-button-background-color: var(--green-color);

View File

@ -75,13 +75,13 @@ export class HaMoreInfoStateHeader extends LitElement {
.state { .state {
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 36px; font-size: var(--ha-font-size-5xl);
line-height: 44px; line-height: 44px;
} }
.last-changed { .last-changed {
font-style: normal; font-style: normal;
font-weight: 500; font-weight: 500;
font-size: 16px; font-size: var(--ha-font-size-l);
line-height: 24px; line-height: 24px;
letter-spacing: 0.1px; letter-spacing: 0.1px;
padding: 4px 0; padding: 4px 0;

View File

@ -185,7 +185,7 @@ class LightColorTempPicker extends LitElement {
top, top,
var(--gradient) var(--gradient)
); );
--control-slider-tooltip-font-size: 20px; --control-slider-tooltip-font-size: var(--ha-font-size-xl);
--control-slider-background-opacity: 1; --control-slider-background-opacity: 1;
} }
`, `,

View File

@ -530,14 +530,14 @@ class MoreInfoClimate extends LitElement {
.current .label { .current .label {
opacity: 0.8; opacity: 0.8;
font-size: 14px; font-size: var(--ha-font-size-m);
line-height: 16px; line-height: 16px;
letter-spacing: 0.4px; letter-spacing: 0.4px;
margin-bottom: 4px; margin-bottom: 4px;
} }
.current .value { .current .value {
font-size: 22px; font-size: var(--ha-font-size-2xl);
font-weight: 500; font-weight: 500;
line-height: 28px; line-height: 28px;
direction: ltr; direction: ltr;

View File

@ -233,13 +233,13 @@ class MoreInfoHumidifier extends LitElement {
} }
.current .label { .current .label {
opacity: 0.8; opacity: 0.8;
font-size: 14px; font-size: var(--ha-font-size-m);
line-height: 16px; line-height: 16px;
letter-spacing: 0.4px; letter-spacing: 0.4px;
margin-bottom: 4px; margin-bottom: 4px;
} }
.current .value { .current .value {
font-size: 22px; font-size: var(--ha-font-size-2xl);
font-weight: 500; font-weight: 500;
line-height: 28px; line-height: 28px;
direction: ltr; direction: ltr;

View File

@ -165,7 +165,7 @@ class MoreInfoLock extends LitElement {
moreInfoControlStyle, moreInfoControlStyle,
css` css`
ha-control-button { ha-control-button {
font-size: 14px; font-size: var(--ha-font-size-m);
height: 60px; height: 60px;
--control-button-border-radius: 24px; --control-button-border-radius: 24px;
} }

View File

@ -234,14 +234,14 @@ class MoreInfoWaterHeater extends LitElement {
.current .label { .current .label {
opacity: 0.8; opacity: 0.8;
font-size: 14px; font-size: var(--ha-font-size-m);
line-height: 16px; line-height: 16px;
letter-spacing: 0.4px; letter-spacing: 0.4px;
margin-bottom: 4px; margin-bottom: 4px;
} }
.current .value { .current .value {
font-size: 22px; font-size: var(--ha-font-size-2xl);
font-weight: 500; font-weight: 500;
line-height: 28px; line-height: 28px;
direction: ltr; direction: ltr;

View File

@ -512,18 +512,18 @@ class MoreInfoWeather extends LitElement {
.temp-attribute .temp span { .temp-attribute .temp span {
position: absolute; position: absolute;
font-size: 24px; font-size: var(--ha-font-size-2xl);
top: 1px; top: 1px;
} }
.state, .state,
.temp-attribute .temp { .temp-attribute .temp {
font-size: 28px; font-size: var(--ha-font-size-3xl);
line-height: 1.2; line-height: 1.2;
} }
.attribute { .attribute {
font-size: 14px; font-size: var(--ha-font-size-m);
line-height: 1; line-height: 1;
} }
@ -570,7 +570,7 @@ class MoreInfoWeather extends LitElement {
} }
.forecast .temp { .forecast .temp {
font-size: 16px; font-size: var(--ha-font-size-l);
} }
.forecast-image-icon { .forecast-image-icon {

View File

@ -679,13 +679,13 @@ export class MoreInfoDialog extends LitElement {
.title .main { .title .main {
color: var(--primary-text-color); color: var(--primary-text-color);
font-size: 20px; font-size: var(--ha-font-size-xl);
line-height: 24px; line-height: 24px;
} }
.title .breadcrumb { .title .breadcrumb {
color: var(--secondary-text-color); color: var(--secondary-text-color);
font-size: 14px; font-size: var(--ha-font-size-m);
line-height: 16px; line-height: 16px;
--mdc-icon-size: 16px; --mdc-icon-size: 16px;
padding: 4px; padding: 4px;

View File

@ -468,7 +468,7 @@ class DialogRestart extends LitElement {
} }
.section { .section {
font-weight: 500; font-weight: 500;
font-size: 14px; font-size: var(--ha-font-size-m);
line-height: 20px; line-height: 20px;
margin: 8px 0 4px 0; margin: 8px 0 4px 0;
padding-left: var(--mdc-list-side-padding, 20px); padding-left: var(--mdc-list-side-padding, 20px);

View File

@ -153,7 +153,7 @@ export class CloudStepIntro extends LitElement {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 24px; font-size: var(--ha-font-size-2xl);
} }
.access .round-icon { .access .round-icon {
color: #00aef8; color: #00aef8;
@ -161,14 +161,14 @@ export class CloudStepIntro extends LitElement {
} }
.feature h2 { .feature h2 {
font-weight: 500; font-weight: 500;
font-size: 16px; font-size: var(--ha-font-size-l);
line-height: 24px; line-height: 24px;
margin-top: 0; margin-top: 0;
margin-bottom: 8px; margin-bottom: 8px;
} }
.feature p { .feature p {
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: var(--ha-font-size-m);
line-height: 20px; line-height: 20px;
margin: 0; margin: 0;
} }

View File

@ -64,7 +64,7 @@ class HassErrorScreen extends LitElement {
.toolbar { .toolbar {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 20px; font-size: var(--ha-font-size-xl);
height: var(--header-height); height: var(--header-height);
padding: 8px 12px; padding: 8px 12px;
pointer-events: none; pointer-events: none;

View File

@ -64,7 +64,7 @@ class HassLoadingScreen extends LitElement {
.toolbar { .toolbar {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 20px; font-size: var(--ha-font-size-xl);
height: var(--header-height); height: var(--header-height);
padding: 8px 12px; padding: 8px 12px;
pointer-events: none; pointer-events: none;

View File

@ -97,7 +97,7 @@ class HassSubpage extends LitElement {
.toolbar { .toolbar {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 20px; font-size: var(--ha-font-size-xl);
height: var(--header-height); height: var(--header-height);
padding: 8px 12px; padding: 8px 12px;
background-color: var(--app-header-background-color); background-color: var(--app-header-background-color);

View File

@ -760,7 +760,7 @@ export class HaTabsSubpageDataTable extends KeyboardShortcutMixin(LitElement) {
margin-left: 4px; margin-left: 4px;
margin-inline-start: 4px; margin-inline-start: 4px;
margin-inline-end: initial; margin-inline-end: initial;
font-size: 14px; font-size: var(--ha-font-size-m);
width: max-content; width: max-content;
cursor: initial; cursor: initial;
direction: var(--direction); direction: var(--direction);
@ -823,7 +823,7 @@ export class HaTabsSubpageDataTable extends KeyboardShortcutMixin(LitElement) {
box-sizing: border-box; box-sizing: border-box;
border-radius: 50%; border-radius: 50%;
font-weight: 400; font-weight: 400;
font-size: 11px; font-size: var(--ha-font-size-xs);
background-color: var(--primary-color); background-color: var(--primary-color);
line-height: 16px; line-height: 16px;
text-align: center; text-align: center;
@ -857,7 +857,7 @@ export class HaTabsSubpageDataTable extends KeyboardShortcutMixin(LitElement) {
justify-content: space-between; justify-content: space-between;
padding: 8px 12px; padding: 8px 12px;
box-sizing: border-box; box-sizing: border-box;
font-size: 14px; font-size: var(--ha-font-size-m);
--ha-assist-chip-container-color: var(--card-background-color); --ha-assist-chip-container-color: var(--card-background-color);
} }

View File

@ -230,7 +230,7 @@ class HassTabsSubpage extends LitElement {
} }
.toolbar { .toolbar {
font-size: 20px; font-size: var(--ha-font-size-xl);
height: var(--header-height); height: var(--header-height);
background-color: var(--sidebar-background-color); background-color: var(--sidebar-background-color);
font-weight: 400; font-weight: 400;
@ -259,7 +259,7 @@ class HassTabsSubpage extends LitElement {
#tabbar { #tabbar {
display: flex; display: flex;
font-size: 14px; font-size: var(--ha-font-size-m);
overflow: hidden; overflow: hidden;
} }
@ -278,7 +278,7 @@ class HassTabsSubpage extends LitElement {
border-top: 1px solid var(--divider-color); border-top: 1px solid var(--divider-color);
justify-content: space-around; justify-content: space-around;
z-index: 2; z-index: 2;
font-size: 12px; font-size: var(--ha-font-size-s);
width: 100%; width: 100%;
padding-bottom: env(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom);
} }

View File

@ -199,7 +199,7 @@ class OnboardingCoreConfig extends LitElement {
} }
p { p {
font-size: 14px; font-size: var(--ha-font-size-m);
line-height: 20px; line-height: 20px;
} }

View File

@ -120,7 +120,7 @@ class OnboardingRestoreBackupCloudLogin extends LitElement {
text-align: left; text-align: left;
} }
h2 { h2 {
font-size: 24px; font-size: var(--ha-font-size-2xl);
display: flex; display: flex;
align-items: center; align-items: center;
gap: 16px; gap: 16px;

View File

@ -338,7 +338,7 @@ class OnboardingRestoreBackupRestore extends LitElement {
line-height: normal; line-height: normal;
} }
h2 { h2 {
font-size: 22px; font-size: var(--ha-font-size-2xl);
margin-top: 24px; margin-top: 24px;
margin-bottom: 8px; margin-bottom: 8px;
font-style: normal; font-style: normal;

View File

@ -86,11 +86,11 @@ class OnboardingRestoreBackupStatus extends LitElement {
p { p {
text-align: center; text-align: center;
padding: 0 16px; padding: 0 16px;
font-size: 16px; font-size: var(--ha-font-size-l);
} }
.failed { .failed {
padding: 16px 0; padding: 16px 0;
font-size: 16px; font-size: var(--ha-font-size-l);
} }
mwc-linear-progress { mwc-linear-progress {
width: 100%; width: 100%;

View File

@ -6,7 +6,7 @@ export const onBoardingStyles = css`
} }
h1 { h1 {
font-weight: 400; font-weight: 400;
font-size: 28px; font-size: var(--ha-font-size-3xl);
line-height: 36px; line-height: 36px;
margin-bottom: 8px; margin-bottom: 8px;
} }

View File

@ -623,7 +623,7 @@ class DialogCalendarEventEditor extends LitElement {
justify-content: space-between; justify-content: space-between;
} }
.label { .label {
font-size: 12px; font-size: var(--ha-font-size-s);
font-weight: 500; font-weight: 500;
color: var(--input-label-ink-color); color: var(--input-label-ink-color);
} }

View File

@ -563,7 +563,7 @@ export class HAFullCalendar extends LitElement {
th.fc-col-header-cell.fc-day { th.fc-col-header-cell.fc-day {
background-color: var(--table-header-background-color); background-color: var(--table-header-background-color);
color: var(--primary-text-color); color: var(--primary-text-color);
font-size: 11px; font-size: var(--ha-font-size-xs);
font-weight: bold; font-weight: bold;
text-transform: uppercase; text-transform: uppercase;
} }
@ -587,7 +587,7 @@ export class HAFullCalendar extends LitElement {
a.fc-daygrid-day-number { a.fc-daygrid-day-number {
float: none !important; float: none !important;
font-size: 12px; font-size: var(--ha-font-size-s);
cursor: pointer; cursor: pointer;
} }
@ -657,13 +657,13 @@ export class HAFullCalendar extends LitElement {
} }
.fc-list-day-text { .fc-list-day-text {
font-size: 16px; font-size: var(--ha-font-size-l);
font-weight: 400; font-weight: 400;
} }
.fc-list-day-side-text { .fc-list-day-side-text {
font-weight: 400; font-weight: 400;
font-size: 16px; font-size: var(--ha-font-size-l);
color: var(--primary-color); color: var(--primary-color);
} }

View File

@ -338,7 +338,7 @@ export class HaConfigApplicationCredentials extends LitElement {
margin-top: 20px; margin-top: 20px;
} }
.header-toolbar .selected-txt { .header-toolbar .selected-txt {
font-size: 16px; font-size: var(--ha-font-size-l);
} }
.header-toolbar .header-btns { .header-toolbar .header-btns {
margin-right: -12px; margin-right: -12px;

View File

@ -455,7 +455,7 @@ export class HaConfigAreasDashboard extends LitElement {
padding-inline-start: 8px; padding-inline-start: 8px;
} }
.header h2 { .header h2 {
font-size: 14px; font-size: var(--ha-font-size-m);
font-weight: 500; font-weight: 500;
margin-top: 28px; margin-top: 28px;
} }

View File

@ -555,7 +555,7 @@ export default class HaAutomationConditionRow extends LitElement {
left: 0px; left: 0px;
text-transform: uppercase; text-transform: uppercase;
font-weight: bold; font-weight: bold;
font-size: 14px; font-size: var(--ha-font-size-m);
background-color: var(--divider-color, #e0e0e0); background-color: var(--divider-color, #e0e0e0);
color: var(--text-primary-color); color: var(--text-primary-color);
max-height: 0px; max-height: 0px;

View File

@ -528,7 +528,7 @@ export class HaAutomationTrace extends LitElement {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 20px; font-size: var(--ha-font-size-xl);
height: var(--header-height); height: var(--header-height);
padding: 4px; padding: 4px;
background-color: var(--primary-background-color); background-color: var(--primary-background-color);

View File

@ -701,7 +701,7 @@ export default class HaAutomationTriggerRow extends LitElement {
left: 0px; left: 0px;
text-transform: uppercase; text-transform: uppercase;
font-weight: bold; font-weight: bold;
font-size: 14px; font-size: var(--ha-font-size-m);
background-color: var(--primary-color); background-color: var(--primary-color);
color: var(--text-primary-color); color: var(--text-primary-color);
max-height: 0px; max-height: 0px;

View File

@ -120,7 +120,7 @@ class HaBackupAgentsPicker extends LitElement {
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
gap: 16px; gap: 16px;
font-size: 16px; font-size: var(--ha-font-size-l);
font-weight: 400; font-weight: 400;
line-height: 24px; line-height: 24px;
letter-spacing: 0.5px; letter-spacing: 0.5px;

View File

@ -42,7 +42,7 @@ class SupervisorFormfieldLabel extends LitElement {
margin-right: 4px; margin-right: 4px;
margin-inline-end: 4px; margin-inline-end: 4px;
margin-inline-start: initial; margin-inline-start: initial;
font-size: 14px; font-size: var(--ha-font-size-m);
font-weight: 400; font-weight: 400;
line-height: 24px; line-height: 24px;
letter-spacing: 0.5px; letter-spacing: 0.5px;

View File

@ -125,7 +125,7 @@ class HaBackupSummaryCard extends LitElement {
min-width: 0; min-width: 0;
} }
.heading { .heading {
font-size: 22px; font-size: var(--ha-font-size-2xl);
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
line-height: 28px; line-height: 28px;
@ -136,7 +136,7 @@ class HaBackupSummaryCard extends LitElement {
white-space: nowrap; white-space: nowrap;
} }
.description { .description {
font-size: 14px; font-size: var(--ha-font-size-m);
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
line-height: 20px; line-height: 20px;

View File

@ -580,7 +580,7 @@ class DialogBackupOnboarding extends LitElement implements HassDialog {
margin: 0; margin: 0;
flex: 1; flex: 1;
font-family: "Roboto Mono", "Consolas", "Menlo", monospace; font-family: "Roboto Mono", "Consolas", "Menlo", monospace;
font-size: 20px; font-size: var(--ha-font-size-xl);
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
line-height: 28px; line-height: 28px;

View File

@ -314,7 +314,7 @@ class DialogChangeBackupEncryptionKey extends LitElement implements HassDialog {
margin: 0; margin: 0;
flex: 1; flex: 1;
font-family: "Roboto Mono", "Consolas", "Menlo", monospace; font-family: "Roboto Mono", "Consolas", "Menlo", monospace;
font-size: 20px; font-size: var(--ha-font-size-xl);
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
line-height: 28px; line-height: 28px;

View File

@ -208,7 +208,7 @@ class DialogDownloadDecryptedBackup extends LitElement implements HassDialog {
background: none; background: none;
border: none; border: none;
padding: 0; padding: 0;
font-size: 14px; font-size: var(--ha-font-size-m);
color: var(--primary-color); color: var(--primary-color);
text-decoration: underline; text-decoration: underline;
cursor: pointer; cursor: pointer;

View File

@ -232,7 +232,7 @@ class DialogSetBackupEncryptionKey extends LitElement implements HassDialog {
margin: 0; margin: 0;
flex: 1; flex: 1;
font-family: "Roboto Mono", "Consolas", "Menlo", monospace; font-family: "Roboto Mono", "Consolas", "Menlo", monospace;
font-size: 20px; font-size: var(--ha-font-size-xl);
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
line-height: 28px; line-height: 28px;

View File

@ -154,7 +154,7 @@ class DialogShowBackupEncryptionKey extends LitElement implements HassDialog {
margin: 0; margin: 0;
flex: 1; flex: 1;
font-family: "Roboto Mono", "Consolas", "Menlo", monospace; font-family: "Roboto Mono", "Consolas", "Menlo", monospace;
font-size: 20px; font-size: var(--ha-font-size-xl);
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
line-height: 28px; line-height: 28px;

View File

@ -235,7 +235,7 @@ class HaConfigBackupBackups extends SubscribeMixin(LitElement) {
${agentsMore ${agentsMore
? html` ? html`
<span <span
style="display: flex; align-items: center; font-size: 14px;" style="display: flex; align-items: center; font-size: var(--ha-font-size-m);"
> >
+${agentsMore} +${agentsMore}
</span> </span>

View File

@ -535,7 +535,7 @@ class HaConfigBackupSettings extends LitElement {
.cloud-info .cloud-header { .cloud-info .cloud-header {
display: flex; display: flex;
gap: 16px; gap: 16px;
font-size: 22px; font-size: var(--ha-font-size-xl);
align-items: center; align-items: center;
padding: 16px; padding: 16px;
} }

View File

@ -244,7 +244,7 @@ class HaConfigSystemNavigation extends LitElement {
} }
.title { .title {
font-size: 16px; font-size: var(--ha-font-size-l);
padding: 16px; padding: 16px;
padding-bottom: 0; padding-bottom: 0;
} }
@ -269,7 +269,7 @@ class HaConfigSystemNavigation extends LitElement {
} }
ha-navigation-list { ha-navigation-list {
--navigation-list-item-title-font-size: 16px; --navigation-list-item-title-font-size: var(--ha-font-size-l);
} }
`, `,
]; ];

View File

@ -408,7 +408,7 @@ class HaConfigDashboard extends SubscribeMixin(LitElement) {
margin: 8px 16px 16px 16px; margin: 8px 16px 16px 16px;
} }
.title { .title {
font-size: 16px; font-size: var(--ha-font-size-l);
padding: 16px; padding: 16px;
padding-bottom: 0; padding-bottom: 0;
} }

View File

@ -66,7 +66,7 @@ class HaConfigNavigation extends LitElement {
static styles: CSSResultGroup = css` static styles: CSSResultGroup = css`
ha-navigation-list { ha-navigation-list {
--navigation-list-item-title-font-size: 16px; --navigation-list-item-title-font-size: var(--ha-font-size-l);
} }
`; `;
} }

View File

@ -148,7 +148,7 @@ class HaConfigUpdates extends SubscribeMixin(LitElement) {
return [ return [
css` css`
.title { .title {
font-size: 16px; font-size: var(--ha-font-size-l);
padding: 16px; padding: 16px;
padding-bottom: 0; padding-bottom: 0;
} }
@ -180,7 +180,7 @@ class HaConfigUpdates extends SubscribeMixin(LitElement) {
text-decoration: underline; text-decoration: underline;
} }
ha-md-list-item { ha-md-list-item {
font-size: 16px; font-size: var(--ha-font-size-l);
} }
div[slot="start"] { div[slot="start"] {
position: relative; position: relative;

View File

@ -269,7 +269,7 @@ export class HaDeviceEntitiesCard extends LitElement {
margin: 0 16px 0 8px; margin: 0 16px 0 8px;
} }
.name { .name {
font-size: 14px; font-size: var(--ha-font-size-m);
} }
.name:dir(rtl) { .name:dir(rtl) {
margin-inline-start: 8px; margin-inline-start: 8px;

View File

@ -1551,7 +1551,7 @@ ${rejected
margin-top: 20px; margin-top: 20px;
} }
.header-toolbar .selected-txt { .header-toolbar .selected-txt {
font-size: 16px; font-size: var(--ha-font-size-l);
} }
.header-toolbar .header-btns { .header-toolbar .header-btns {
margin-right: -12px; margin-right: -12px;

View File

@ -80,7 +80,7 @@ export class HaConfigSection extends LitElement {
line-height: var(--ha-line-height-normal); line-height: var(--ha-line-height-normal);
width: 100%; width: 100%;
opacity: var(--dark-primary-opacity); opacity: var(--dark-primary-opacity);
font-size: 14px; font-size: var(--ha-font-size-m);
padding-bottom: 20px; padding-bottom: 20px;
} }

View File

@ -502,11 +502,11 @@ class HaConfigHardware extends SubscribeMixin(LitElement) {
text-align: center; text-align: center;
} }
.primary-text { .primary-text {
font-size: 16px; font-size: var(--ha-font-size-l);
margin: 0; margin: 0;
} }
.secondary-text { .secondary-text {
font-size: 14px; font-size: var(--ha-font-size-m);
margin-bottom: 0; margin-bottom: 0;
color: var(--secondary-text-color); color: var(--secondary-text-color);
} }
@ -519,11 +519,11 @@ class HaConfigHardware extends SubscribeMixin(LitElement) {
.header .title { .header .title {
color: var(--secondary-text-color); color: var(--secondary-text-color);
font-size: 18px; font-size: var(--ha-font-size-l);
} }
.header .value { .header .value {
font-size: 16px; font-size: var(--ha-font-size-l);
} }
.row { .row {
display: flex; display: flex;

View File

@ -480,7 +480,7 @@ class HaScheduleForm extends LitElement {
th.fc-col-header-cell.fc-day { th.fc-col-header-cell.fc-day {
background-color: var(--table-header-background-color); background-color: var(--table-header-background-color);
color: var(--primary-text-color); color: var(--primary-text-color);
font-size: 11px; font-size: var(--ha-font-size-xs);
font-weight: bold; font-weight: bold;
text-transform: uppercase; text-transform: uppercase;
} }

View File

@ -297,7 +297,7 @@ class HaConfigInfo extends LitElement {
} }
.header p { .header p {
font-size: 22px; font-size: var(--ha-font-size-2xl);
font-weight: 400; font-weight: 400;
line-height: 28px; line-height: 28px;
text-align: center; text-align: center;
@ -328,7 +328,7 @@ class HaConfigInfo extends LitElement {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
font-size: 14px; font-size: var(--ha-font-size-m);
font-weight: 400; font-weight: 400;
padding: 4px 0; padding: 4px 0;
} }
@ -344,7 +344,7 @@ class HaConfigInfo extends LitElement {
.ha-version { .ha-version {
color: var(--primary-text-color); color: var(--primary-text-color);
font-weight: 500; font-weight: 500;
font-size: 16px; font-size: var(--ha-font-size-l);
} }
.pages { .pages {

View File

@ -1038,7 +1038,7 @@ class HaConfigIntegrationsDashboard extends KeyboardShortcutMixin(
padding-left: 8px; padding-left: 8px;
padding-inline-start: 8px; padding-inline-start: 8px;
padding-inline-end: 2px; padding-inline-end: 2px;
font-size: 14px; font-size: var(--ha-font-size-m);
width: max-content; width: max-content;
cursor: initial; cursor: initial;
direction: var(--direction); direction: var(--direction);

View File

@ -332,7 +332,7 @@ class HaDomainIntegrations extends LitElement {
h3 { h3 {
margin: 8px 24px 0; margin: 8px 24px 0;
color: var(--secondary-text-color); color: var(--secondary-text-color);
font-size: 14px; font-size: var(--ha-font-size-m);
font-weight: 500; font-weight: 500;
} }
h3:first-of-type { h3:first-of-type {

View File

@ -75,14 +75,14 @@ export class HaIntegrationActionCard extends LitElement {
height: 40px; height: 40px;
} }
h2 { h2 {
font-size: 16px; font-size: var(--ha-font-size-l);
font-weight: 400; font-weight: 400;
margin-top: 8px; margin-top: 8px;
margin-bottom: 0; margin-bottom: 0;
max-width: 100%; max-width: 100%;
} }
h3 { h3 {
font-size: 14px; font-size: var(--ha-font-size-m);
margin: 0; margin: 0;
max-width: 100%; max-width: 100%;
text-align: center; text-align: center;

View File

@ -121,19 +121,19 @@ export class HaIntegrationHeader extends LitElement {
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
font-size: 16px; font-size: var(--ha-font-size-l);
font-weight: 400; font-weight: 400;
color: var(--primary-text-color); color: var(--primary-text-color);
} }
.has-secondary { .has-secondary {
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
font-size: 14px; font-size: var(--ha-font-size-m);
} }
.secondary { .secondary {
min-width: 0; min-width: 0;
--mdc-icon-size: 20px; --mdc-icon-size: 20px;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
font-size: 12px; font-size: var(--ha-font-size-s);
display: flex; display: flex;
flex-direction: row; flex-direction: row;
} }

View File

@ -52,7 +52,7 @@ export class ZWaveJsAddNodeFailed extends LitElement {
div.note { div.note {
text-align: center; text-align: center;
margin-top: 16px; margin-top: 16px;
font-size: 12px; font-size: var(--ha-font-size-s);
color: var(--secondary-text-color); color: var(--secondary-text-color);
} }
ha-button { ha-button {

View File

@ -121,7 +121,7 @@ export class ZWaveJsAddNodeSearchingDevices extends LitElement {
display: block; display: block;
} }
.note { .note {
font-size: 12px; font-size: var(--ha-font-size-s);
color: var(--secondary-text-color); color: var(--secondary-text-color);
} }
.searching-spinner { .searching-spinner {

View File

@ -40,7 +40,7 @@ class DialogRepairsIssueSubtitle extends LitElement {
static styles = css` static styles = css`
:host { :host {
display: block; display: block;
font-size: 14px; font-size: var(--ha-font-size-m);
margin-bottom: 8px; margin-bottom: 8px;
color: var(--secondary-text-color); color: var(--secondary-text-color);
text-overflow: ellipsis; text-overflow: ellipsis;

View File

@ -171,7 +171,7 @@ class HaConfigRepairs extends LitElement {
--mdc-list-vertical-padding: 0; --mdc-list-vertical-padding: 0;
} }
.title { .title {
font-size: 16px; font-size: var(--ha-font-size-l);
padding: 16px; padding: 16px;
padding-bottom: 0; padding-bottom: 0;
} }

View File

@ -111,7 +111,7 @@ class IntegrationsStartupTime extends LitElement {
border-radius: 0; border-radius: 0;
} }
div[slot="end"] { div[slot="end"] {
font-size: 12px; font-size: var(--ha-font-size-s);
} }
`; `;
} }

View File

@ -1081,7 +1081,7 @@ export class HaScriptEditor extends SubscribeMixin(
align-items: center; align-items: center;
} }
.header .name { .header .name {
font-size: 20px; font-size: var(--ha-font-size-xl);
font-weight: 400; font-weight: 400;
flex: 1; flex: 1;
} }

Some files were not shown because too many files have changed in this diff Show More