Ensure configured font-feature-settings are included in Preflight (#9707)

* Add `font-feature-settings` to `html` in preflight

* Update source map test snapshots

* Update changelog
This commit is contained in:
Brad Cornes 2022-11-01 17:52:59 +00:00 • committed by GitHub
parent e231ea6c61
commit 7ec9dc311b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 314 additions and 283 deletions

View file

@ -22,6 +22,7 @@
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
*/
html {
@ -30,6 +31,7 @@ html {
-moz-tab-size: 4; /* 3 */
tab-size: 4; /* 3 */
font-family: theme('fontFamily.sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"); /* 4 */
font-feature-settings: theme('fontFamily.sans[1].fontFeatureSettings', normal); /* 5 */
}
/*