feat(@vant/icons): add minus icon

This commit is contained in:
chenjiahan 2020-10-08 18:19:57 +08:00
parent 9b635a45ef
commit 40e26f97d1
5 changed files with 14 additions and 8 deletions

View File

@ -232,6 +232,7 @@ const map = {
F0E5: 'photo-fail',
F0E6: 'back-top',
F0E7: 'share-o',
F0E8: 'minus',
};
const reversedMap = {};

View File

@ -1,14 +1,15 @@
module.exports = {
name: 'vant-icon',
basic: [
'success',
'plus',
'cross',
'fail',
'arrow',
'arrow-left',
'arrow-up',
'arrow-down',
'success',
'cross',
'plus',
'minus',
'fail',
],
outline: [
// has corresponding filled icon

File diff suppressed because one or more lines are too long

View File

@ -5,9 +5,9 @@
font-family: 'vant-icon';
font-style: normal;
font-display: auto;
src: url('https://img.yzcdn.cn/vant/vant-icon-0c347b.woff2') format('woff2'),
url('https://img.yzcdn.cn/vant/vant-icon-0c347b.woff') format('woff'),
url('https://img.yzcdn.cn/vant/vant-icon-0c347b.ttf') format('truetype');
src: url('https://img.yzcdn.cn/vant/vant-icon-09002a.woff2') format('woff2'),
url('https://img.yzcdn.cn/vant/vant-icon-09002a.woff') format('woff'),
url('https://img.yzcdn.cn/vant/vant-icon-09002a.ttf') format('truetype');
}
.van-icon {
@ -563,6 +563,10 @@
content: '\F084';
}
.van-icon-minus::before {
content: '\F0E8';
}
.van-icon-more-o::before {
content: '\F085';
}