Typography: Remove --text-base-size variable
<html> unconditionally sets its font-size to 100%.
This commit is contained in:
parent
2683a148d5
commit
98fc4867e1
1 changed files with 1 additions and 2 deletions
|
@ -19,7 +19,6 @@
|
||||||
--font-family-body: var(--font-family-sans);
|
--font-family-body: var(--font-family-sans);
|
||||||
--font-family-heading: var(--font-family-monospace);
|
--font-family-heading: var(--font-family-monospace);
|
||||||
|
|
||||||
--text-base-size: 125%;
|
|
||||||
--text-base: {{ $base }}{{ $unit }};
|
--text-base: {{ $base }}{{ $unit }};
|
||||||
{{ range $scale -}}
|
{{ range $scale -}}
|
||||||
--text-{{ .Name }}: calc(var(--text-base) * pow({{ $factor }}, {{ .Value }}));
|
--text-{{ .Name }}: calc(var(--text-base) * pow({{ $factor }}, {{ .Value }}));
|
||||||
|
@ -38,7 +37,7 @@
|
||||||
|
|
||||||
html {
|
html {
|
||||||
font-family: var(--font-family-body);
|
font-family: var(--font-family-body);
|
||||||
font-size: var(--text-base-size);
|
font-size: 100%;
|
||||||
line-height: 1.45;
|
line-height: 1.45;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue