We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dbfb80 commit 5892203Copy full SHA for 5892203
.changeset/olive-fishes-provide.md
@@ -0,0 +1,5 @@
1
+---
2
+'@shopify/polaris': minor
3
4
+
5
+Added support for [Dynamic Type](https://developer.apple.com/documentation/uikit/uifont/scaling_fonts_automatically) in iOS
polaris-react/src/components/AppProvider/AppProvider.scss
@@ -55,6 +55,17 @@ html {
55
text-rendering: optimizeLegibility;
56
}
57
58
+/*
59
+ To support dynamic type in iOS, we need to set Apple's
60
+ system font and then define font-families and rem-based
61
+ font-sizes on descendant elements:
62
+*/
63
+@supports (font: -apple-system-body) {
64
+ html {
65
+ font: -apple-system-body;
66
+ }
67
+}
68
69
body {
70
min-height: 100%;
71
margin: 0;
0 commit comments