Revert "Typography: Scale the font size according to screen size"

This reverts commit 1fd1eb9bfd.

I don't think it looks good on mobile.
This commit is contained in:
Eryn Wells 2024-07-25 10:21:00 -07:00
parent 8d1ce0208a
commit fa1c957b7c

View file

@ -25,7 +25,7 @@
--font-family-body: var(--font-family-sans);
--font-family-heading: var(--font-family-monospace);
--text-base-size: clamp(100%, 3vw, 125%);
--text-base-size: 125%;
--text-base: {{ $base }}{{ $unit }};
{{ range $scale -}}
--text-{{ .Name }}: calc(var(--text-base) * pow({{ $factor }}, {{ .Value }}));