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
+2 -2
View File
@@ -22,8 +22,8 @@
}
&__index {
padding: 0 @padding-xs 0 @padding-md;
font-weight: @font-weight-bold;
padding: 0 var(--van-padding-xs) 0 var(--van-padding-md);
font-weight: var(--van-font-weight-bold);
font-size: var(--van-index-bar-index-font-size);
line-height: var(--van-index-bar-index-line-height);
+3 -3
View File
@@ -1,6 +1,6 @@
@import '../style/var.less';
@index-bar-sidebar-z-index: 2;
@index-bar-index-font-size: @font-size-xs;
@index-bar-index-line-height: @line-height-xs;
@index-bar-index-active-color: @red;
@index-bar-index-font-size: var(--van-font-size-xs);
@index-bar-index-line-height: var(--van-line-height-xs);
@index-bar-index-active-color: var(--van-red);