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:
parent
8d1ce0208a
commit
fa1c957b7c
1 changed files with 1 additions and 1 deletions
|
@ -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 }}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue