feat(Icon): add font-display auto property (#4831)

This commit is contained in:
neverland
2019-10-24 21:20:43 +08:00
committed by GitHub
parent fe6b12f8c2
commit 38a6080803
6 changed files with 9 additions and 7 deletions
+1
View File
@@ -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 -1
View File
@@ -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
+1
View File
@@ -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');