mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 00:14:18 +00:00
feat(Icon): add font-family css var (#12354)
* feat: icon family var * fix: var name --------- Co-authored-by: fanjiazhao <fanjiazhao@youzan.com>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user