feat(style): component using basic css variables

This commit is contained in:
chenjiahan
2021-06-12 15:52:22 +08:00
committed by neverland
parent aef2579a95
commit 710aebaee4
117 changed files with 707 additions and 705 deletions
+1 -1
View File
@@ -41,6 +41,6 @@
}
.van-badge {
margin-top: @padding-base;
margin-top: var(--van-padding-base);
}
}
+4 -4
View File
@@ -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;