mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Change --ha-font-weight-bold (#25221)
* Use font-weight vars in roboto * Revert roboto usage of vars
This commit is contained in:
parent
ff5cbb0613
commit
fddc00bfab
@ -7,10 +7,10 @@ import {
|
|||||||
} from "./typography.globals";
|
} from "./typography.globals";
|
||||||
|
|
||||||
export const themeStyles = [
|
export const themeStyles = [
|
||||||
fontStyles.toString(),
|
|
||||||
mainStyles.toString(),
|
mainStyles.toString(),
|
||||||
typographyStyles.toString(),
|
typographyStyles.toString(),
|
||||||
colorStyles.toString(),
|
colorStyles.toString(),
|
||||||
|
fontStyles.toString(),
|
||||||
].join("");
|
].join("");
|
||||||
|
|
||||||
export const derivedStyles = {
|
export const derivedStyles = {
|
||||||
|
@ -22,7 +22,7 @@ export const typographyStyles = css`
|
|||||||
--ha-font-weight-light: 300;
|
--ha-font-weight-light: 300;
|
||||||
--ha-font-weight-normal: 400;
|
--ha-font-weight-normal: 400;
|
||||||
--ha-font-weight-semibold: 500;
|
--ha-font-weight-semibold: 500;
|
||||||
--ha-font-weight-bold: 600;
|
--ha-font-weight-bold: 700;
|
||||||
|
|
||||||
--ha-font-family-heading: var(--ha-font-family-body);
|
--ha-font-family-heading: var(--ha-font-family-body);
|
||||||
--ha-font-weight-body: var(--ha-font-weight-normal);
|
--ha-font-weight-body: var(--ha-font-weight-normal);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user