Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Icon): add some icons for ShareSheet #10468

Merged
merged 1 commit into from
Apr 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file modified packages/vant-icons/assets/icons.sketch
Binary file not shown.
20 changes: 20 additions & 0 deletions packages/vant-icons/src/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -977,3 +977,23 @@
.van-icon-cash-o:before {
content: '\e74d';
}

.van-icon-qq:before {
content: '\e74e';
}

.van-icon-wechat-moments:before {
content: '\e74f';
}

.van-icon-weibo:before {
content: '\e750';
}

.van-icon-link-o:before {
content: '\e751';
}

.van-icon-miniprogram-o:before {
content: '\e752';
}
5 changes: 5 additions & 0 deletions packages/vant-icons/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ export default {
'shield-o',
'guide-o',
'cash-o',
'link-o',
'miniprogram-o',
],
filled: [
// has corresponding outline icon
Expand Down Expand Up @@ -224,7 +226,10 @@ export default {
// without corresponding outline icon
'wechat',
'wechat-pay',
'wechat-moments',
'qq',
'alipay',
'weibo',
'photograph',
'youzan-shield',
'umbrella-circle',
Expand Down
6 changes: 3 additions & 3 deletions packages/vant-icons/src/encode-woff2.less

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/vant-icons/src/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
font-style: normal;
font-display: auto;
font-family: 'vant-icon';
src: url('https://at.alicdn.com/t/font_2553510_5imfhdc20ag.woff2?t=1640074908811')
src: url('https://at.alicdn.com/t/font_2553510_iv4v8nulyz.woff2?t=1649083952952')
format('woff2'),
url('https://at.alicdn.com/t/font_2553510_5imfhdc20ag.woff?t=1640074908811')
url('https://at.alicdn.com/t/font_2553510_iv4v8nulyz.woff?t=1649083952952')
format('woff'),
url('https://at.alicdn.com/t/font_2553510_5imfhdc20ag.ttf?t=1640074908811')
url('https://at.alicdn.com/t/font_2553510_iv4v8nulyz.ttf?t=1649083952952')
format('truetype');
}