[improvement] Tabbar: add less vars (#3124)

This commit is contained in:
neverland
2019-04-10 15:58:05 +08:00
committed by GitHub
parent f08de77c73
commit e5fc82e96b
3 changed files with 22 additions and 10 deletions

View File

@@ -3,17 +3,17 @@
.van-tabbar-item {
flex: 1;
display: flex;
line-height: 1;
font-size: 12px;
color: @gray-darker;
color: @tabbar-item-text-color;
font-size: @tabbar-item-font-size;
line-height: @tabbar-item-line-height;
align-items: center;
flex-direction: column;
justify-content: center;
&__icon {
font-size: 18px;
position: relative;
margin-bottom: 5px;
font-size: @tabbar-item-icon-size;
margin-bottom: @tabbar-item-margin-bottom;
.van-icon {
display: block;
@@ -34,13 +34,13 @@
}
img {
height: 18px;
display: block;
height: @tabbar-item-icon-size;
}
}
&--active {
color: @blue;
color: @tabbar-item-active-color;
}
.van-info {