style: decentralized less var (#8369)
* style: decentralized less var * chore: remove emtpy var file
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user