feat(style): component using basic css variables
This commit is contained in:
+16
-16
@@ -1,21 +1,21 @@
|
||||
@import '../style/var.less';
|
||||
|
||||
@cell-font-size: @font-size-md;
|
||||
@cell-font-size: var(--van-font-size-md);
|
||||
@cell-line-height: 24px;
|
||||
@cell-vertical-padding: 10px;
|
||||
@cell-horizontal-padding: @padding-md;
|
||||
@cell-text-color: @text-color;
|
||||
@cell-background-color: @white;
|
||||
@cell-border-color: @border-color;
|
||||
@cell-active-color: @active-color;
|
||||
@cell-required-color: @red;
|
||||
@cell-label-color: @gray-6;
|
||||
@cell-label-font-size: @font-size-sm;
|
||||
@cell-label-line-height: @line-height-sm;
|
||||
@cell-label-margin-top: @padding-base;
|
||||
@cell-value-color: @gray-6;
|
||||
@cell-horizontal-padding: var(--van-padding-md);
|
||||
@cell-text-color: var(--van-text-color);
|
||||
@cell-background-color: var(--van-white);
|
||||
@cell-border-color: var(--van-border-color);
|
||||
@cell-active-color: var(--van-active-color);
|
||||
@cell-required-color: var(--van-red);
|
||||
@cell-label-color: var(--van-gray-6);
|
||||
@cell-label-font-size: var(--van-font-size-sm);
|
||||
@cell-label-line-height: var(--van-line-height-sm);
|
||||
@cell-label-margin-top: var(--van-padding-base);
|
||||
@cell-value-color: var(--van-gray-6);
|
||||
@cell-icon-size: 16px;
|
||||
@cell-right-icon-color: @gray-6;
|
||||
@cell-large-vertical-padding: @padding-sm;
|
||||
@cell-large-title-font-size: @font-size-lg;
|
||||
@cell-large-label-font-size: @font-size-md;
|
||||
@cell-right-icon-color: var(--van-gray-6);
|
||||
@cell-large-vertical-padding: var(--van-padding-sm);
|
||||
@cell-large-title-font-size: var(--van-font-size-lg);
|
||||
@cell-large-label-font-size: var(--van-font-size-md);
|
||||
|
||||
Reference in New Issue
Block a user