Use ha-font-family typography css token (#25355)

Use ha-font-family
This commit is contained in:
Wendelin
2025-05-07 16:38:07 +02:00
committed by GitHub
parent ab41bdb87d
commit 03ccf014d9
19 changed files with 30 additions and 21 deletions

View File

@@ -1,3 +1,4 @@
import { haFontFamilyBody } from "../../src/resources/theme/typography.globals";
import "./hassio-main";
import("../../src/resources/append-ha-style");
@@ -5,7 +6,7 @@ import("../../src/resources/append-ha-style");
const styleEl = document.createElement("style");
styleEl.textContent = `
body {
font-family: Roboto, sans-serif;
font-family: ${haFontFamilyBody};
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-weight: 400;