style: decentralized less var (#8369)

* style: decentralized less var

* chore: remove emtpy var file
This commit is contained in:
neverland
2021-03-17 16:14:18 +08:00
committed by GitHub
parent 3b645362d8
commit b3146b9108
157 changed files with 997 additions and 1002 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
@import '../style/var.less';
@import './var.less';
@import '../style/mixins/hairline';
.van-share-sheet {
@@ -32,7 +32,7 @@
-webkit-overflow-scrolling: touch;
&--border::before {
.hairline-top(@cell-border-color, @padding-md);
.hairline-top(@border-color, @padding-md);
}
&::-webkit-scrollbar {
+17
View File
@@ -0,0 +1,17 @@
@import '../style/var.less';
@share-sheet-header-padding: @padding-sm @padding-md @padding-base;
@share-sheet-title-color: @text-color;
@share-sheet-title-font-size: @font-size-md;
@share-sheet-title-line-height: @line-height-md;
@share-sheet-description-color: @gray-6;
@share-sheet-description-font-size: @font-size-sm;
@share-sheet-description-line-height: 16px;
@share-sheet-icon-size: 48px;
@share-sheet-option-name-color: @gray-7;
@share-sheet-option-name-font-size: @font-size-sm;
@share-sheet-option-description-color: @gray-5;
@share-sheet-option-description-font-size: @font-size-sm;
@share-sheet-cancel-button-font-size: @font-size-lg;
@share-sheet-cancel-button-height: 48px;
@share-sheet-cancel-button-background: @white;