mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-08-10 06:29:46 +08:00
feat(Icon): add font-display auto property (#4831)
This commit is contained in:
parent
fe6b12f8c2
commit
38a6080803
@ -54,7 +54,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "7.x",
|
"@babel/runtime": "7.x",
|
||||||
"@vant/icons": "1.1.14",
|
"@vant/icons": "1.1.15",
|
||||||
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
|
||||||
"vue-lazyload": "1.2.3"
|
"vue-lazyload": "1.2.3"
|
||||||
},
|
},
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-family: '<%= fontName %>';
|
font-family: '<%= fontName %>';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
font-display: auto;
|
||||||
src: url('https://img.yzcdn.cn/vant/<%= cssClass %>.woff2') format('woff2'),
|
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 %>.woff') format('woff'),
|
||||||
url('https://img.yzcdn.cn/vant/<%= cssClass %>.ttf') format('truetype');
|
url('https://img.yzcdn.cn/vant/<%= cssClass %>.ttf') format('truetype');
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vant/icons",
|
"name": "@vant/icons",
|
||||||
"version": "1.1.14",
|
"version": "1.1.15",
|
||||||
"description": "vant icons",
|
"description": "vant icons",
|
||||||
"main": "./src/config.js",
|
"main": "./src/config.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
File diff suppressed because one or more lines are too long
@ -3,6 +3,7 @@
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-family: 'vant-icon';
|
font-family: 'vant-icon';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
font-display: auto;
|
||||||
src: url('https://img.yzcdn.cn/vant/vant-icon-0bc654.woff2') format('woff2'),
|
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.woff') format('woff'),
|
||||||
url('https://img.yzcdn.cn/vant/vant-icon-0bc654.ttf') format('truetype');
|
url('https://img.yzcdn.cn/vant/vant-icon-0bc654.ttf') format('truetype');
|
||||||
|
@ -1323,10 +1323,10 @@
|
|||||||
eslint-plugin-import "^2.18.2"
|
eslint-plugin-import "^2.18.2"
|
||||||
eslint-plugin-vue "^5.2.3"
|
eslint-plugin-vue "^5.2.3"
|
||||||
|
|
||||||
"@vant/icons@1.1.14":
|
"@vant/icons@1.1.15":
|
||||||
version "1.1.14"
|
version "1.1.15"
|
||||||
resolved "https://registry.yarnpkg.com/@vant/icons/-/icons-1.1.14.tgz#76dfb7be055f98875d703af59a6216539c32a8cd"
|
resolved "https://registry.yarnpkg.com/@vant/icons/-/icons-1.1.15.tgz#53c51ace21e9992bfeeb2e1ad9094fbf6506d116"
|
||||||
integrity sha512-KfH33dwTHZY1NDU2hTEwCUAcbkNuqvrY36hedVhWFZbQfGPV1Aywg3v/txh7+7NsACi5IOd4MD9S2ymFB7dUAg==
|
integrity sha512-96tbJotfofrKpOrUGWKkiGLJsCFc0OX5pikWLW5yarD+EMhi0zCrQSDb95xGrp/HETAFm+nSTQu2e1zGsWN/7A==
|
||||||
|
|
||||||
"@vant/markdown-loader@^2.2.0":
|
"@vant/markdown-loader@^2.2.0":
|
||||||
version "2.2.0"
|
version "2.2.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user