mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08: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:
parent
f0303462b6
commit
87d5349998
@ -1,7 +1,7 @@
|
|||||||
.van-icon {
|
.van-icon {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
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;
|
font-size: inherit;
|
||||||
text-rendering: auto;
|
text-rendering: auto;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user