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
@@ -30,7 +30,7 @@
height: 1px;
border-color: inherit;
border-style: inherit;
border-width: @border-width-base 0 0;
border-width: var(--van-border-width-base) 0 0;
}
&::before {
+5 -5
View File
@@ -1,10 +1,10 @@
@import '../style/var.less';
@divider-margin: @padding-md 0;
@divider-text-color: @gray-6;
@divider-font-size: @font-size-md;
@divider-margin: var(--van-padding-md) 0;
@divider-text-color: var(--van-gray-6);
@divider-font-size: var(--van-font-size-md);
@divider-line-height: 24px;
@divider-border-color: @border-color;
@divider-content-padding: @padding-md;
@divider-border-color: var(--van-border-color);
@divider-content-padding: var(--van-padding-md);
@divider-content-left-width: 10%;
@divider-content-right-width: 10%;