Skip to content

Commit

Permalink
feat(Icon): add font-family css var (#12354)
Browse files Browse the repository at this point in the history
* feat: icon family var

* fix: var name

---------

Co-authored-by: fanjiazhao <[email protected]>
  • Loading branch information
JeremyFan and fanjiazhao authored Oct 10, 2023
1 parent f030346 commit 87d5349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vant-icons/src/common.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.van-icon {
position: relative;
display: inline-block;
font: normal normal normal 14px/1 'vant-icon';
font: normal normal normal 14px/1 var(--van-icon-font-family, 'vant-icon');
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
Expand Down

0 comments on commit 87d5349

Please sign in to comment.