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';
|
||||
|
||||
.van-dialog {
|
||||
top: 45%;
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
@import '../style/var.less';
|
||||
|
||||
@dialog-width: 320px;
|
||||
@dialog-small-screen-width: 90%;
|
||||
@dialog-font-size: @font-size-lg;
|
||||
@dialog-transition: @animation-duration-base;
|
||||
@dialog-border-radius: 16px;
|
||||
@dialog-background-color: @white;
|
||||
@dialog-header-font-weight: @font-weight-bold;
|
||||
@dialog-header-line-height: 24px;
|
||||
@dialog-header-padding-top: 26px;
|
||||
@dialog-header-isolated-padding: @padding-lg 0;
|
||||
@dialog-message-padding: @padding-lg;
|
||||
@dialog-message-font-size: @font-size-md;
|
||||
@dialog-message-line-height: @line-height-md;
|
||||
@dialog-message-max-height: 60vh;
|
||||
@dialog-has-title-message-text-color: @gray-7;
|
||||
@dialog-has-title-message-padding-top: @padding-xs;
|
||||
@dialog-button-height: 48px;
|
||||
@dialog-round-button-height: 36px;
|
||||
@dialog-confirm-button-text-color: @red;
|
||||
Reference in New Issue
Block a user