Typography: Remove --text-base-size variable

<html> unconditionally sets its font-size to 100%.
This commit is contained in:
Eryn Wells 2024-07-25 13:13:20 -07:00
parent 2683a148d5
commit 98fc4867e1

View file

@ -19,7 +19,6 @@
--font-family-body: var(--font-family-sans);
--font-family-heading: var(--font-family-monospace);
--text-base-size: 125%;
--text-base: {{ $base }}{{ $unit }};
{{ range $scale -}}
--text-{{ .Name }}: calc(var(--text-base) * pow({{ $factor }}, {{ .Value }}));
@ -38,7 +37,7 @@
html {
font-family: var(--font-family-body);
font-size: var(--text-base-size);
font-size: 100%;
line-height: 1.45;
}