feat(style): component using basic css variables
This commit is contained in:
@@ -41,6 +41,6 @@
|
||||
}
|
||||
|
||||
.van-badge {
|
||||
margin-top: @padding-base;
|
||||
margin-top: var(--van-padding-base);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
@import '../style/var.less';
|
||||
|
||||
@tabbar-item-font-size: @font-size-sm;
|
||||
@tabbar-item-text-color: @gray-7;
|
||||
@tabbar-item-active-color: @blue;
|
||||
@tabbar-item-active-background-color: @white;
|
||||
@tabbar-item-font-size: var(--van-font-size-sm);
|
||||
@tabbar-item-text-color: var(--van-gray-7);
|
||||
@tabbar-item-active-color: var(--van-blue);
|
||||
@tabbar-item-active-background-color: var(--van-white);
|
||||
@tabbar-item-line-height: 1;
|
||||
@tabbar-item-icon-size: 22px;
|
||||
@tabbar-item-margin-bottom: 4px;
|
||||
|
||||
Reference in New Issue
Block a user