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
+11 -11
View File
@@ -1,15 +1,15 @@
@import '../style/var.less';
@sidebar-font-size: @font-size-md;
@sidebar-line-height: @line-height-md;
@sidebar-text-color: @text-color;
@sidebar-disabled-text-color: @gray-5;
@sidebar-padding: 20px @padding-sm;
@sidebar-active-color: @active-color;
@sidebar-background-color: @background-color;
@sidebar-selected-font-weight: @font-weight-bold;
@sidebar-selected-text-color: @text-color;
@sidebar-font-size: var(--van-font-size-md);
@sidebar-line-height: var(--van-line-height-md);
@sidebar-text-color: var(--van-text-color);
@sidebar-disabled-text-color: var(--van-gray-5);
@sidebar-padding: 20px var(--van-padding-sm);
@sidebar-active-color: var(--van-active-color);
@sidebar-background-color: var(--van-background-color);
@sidebar-selected-font-weight: var(--van-font-weight-bold);
@sidebar-selected-text-color: var(--van-text-color);
@sidebar-selected-border-width: 4px;
@sidebar-selected-border-height: 16px;
@sidebar-selected-border-color: @red;
@sidebar-selected-background-color: @white;
@sidebar-selected-border-color: var(--van-red);
@sidebar-selected-background-color: var(--van-white);