mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Add theme variable for text in heading badge, fix font family (#22606)
This commit is contained in:
parent
5db293ce01
commit
f1d49aaeb1
@ -25,7 +25,6 @@ export class HaBadge extends LitElement {
|
|||||||
static get styles(): CSSResultGroup {
|
static get styles(): CSSResultGroup {
|
||||||
return css`
|
return css`
|
||||||
:host {
|
:host {
|
||||||
color: var(--secondary-text-color);
|
|
||||||
}
|
}
|
||||||
[role="button"] {
|
[role="button"] {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -36,11 +35,10 @@ export class HaBadge extends LitElement {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 3px;
|
gap: 3px;
|
||||||
font-family: Roboto;
|
color: var(--ha-heading-badge-text-color, var(--secondary-text-color));
|
||||||
font-size: 14px;
|
font-size: var(--ha-heading-badge-font-size, 14px);
|
||||||
font-style: normal;
|
font-weight: var(--ha-heading-badge-font-weight, 400);
|
||||||
font-weight: 400;
|
line-height: var(--ha-heading-badge-line-height, 20px);
|
||||||
line-height: 20px;
|
|
||||||
letter-spacing: 0.1px;
|
letter-spacing: 0.1px;
|
||||||
--mdc-icon-size: 14px;
|
--mdc-icon-size: 14px;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user