Skip to content

Commit 9dd61cf

Browse files
committed
MC-16046: Leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading
- Add font display swap from icons;
1 parent cb2c13f commit 9dd61cf

File tree

1 file changed

+2
-1
lines changed
  • app/design/frontend/Magento/blank/web/css/source

1 file changed

+2
-1
lines changed

app/design/frontend/Magento/blank/web/css/source/_icons.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
@family-name: @icons__font-name,
99
@font-path: @icons__font-path,
1010
@font-weight: normal,
11-
@font-style: normal
11+
@font-style: normal,
12+
@font-display: swap
1213
);
1314
}

0 commit comments

Comments
 (0)