A11Y: Use dynamic type scaling on iOS devices (#15967)

This commit is contained in:
Kris 2022-02-16 09:06:08 -05:00 committed by GitHub
parent 6394d7cddf
commit 9be2717e3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,8 +4,13 @@
html {
color: var(--primary);
font-family: $base-font-family;
font-size: $base-font-size;
// This is intentionally set after the font-size, but before font-family
@supports (font: -apple-system-body) and (-webkit-touch-callout: none) {
// only applied to iOS devices
font: -apple-system-body;
}
font-family: $base-font-family;
line-height: $line-height-large;
background-color: var(--secondary);
overflow-y: scroll;