feat(Icon): add font-display auto property (#4831)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
font-weight: normal;
|
||||
font-family: '<%= fontName %>';
|
||||
font-style: normal;
|
||||
font-display: auto;
|
||||
src: url('https://img.yzcdn.cn/vant/<%= cssClass %>.woff2') format('woff2'),
|
||||
url('https://img.yzcdn.cn/vant/<%= cssClass %>.woff') format('woff'),
|
||||
url('https://img.yzcdn.cn/vant/<%= cssClass %>.ttf') format('truetype');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vant/icons",
|
||||
"version": "1.1.14",
|
||||
"version": "1.1.15",
|
||||
"description": "vant icons",
|
||||
"main": "./src/config.js",
|
||||
"files": [
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -3,6 +3,7 @@
|
||||
font-weight: normal;
|
||||
font-family: 'vant-icon';
|
||||
font-style: normal;
|
||||
font-display: auto;
|
||||
src: url('https://img.yzcdn.cn/vant/vant-icon-0bc654.woff2') format('woff2'),
|
||||
url('https://img.yzcdn.cn/vant/vant-icon-0bc654.woff') format('woff'),
|
||||
url('https://img.yzcdn.cn/vant/vant-icon-0bc654.ttf') format('truetype');
|
||||
|
||||
Reference in New Issue
Block a user