* style: add --van-warning-color * style: add --van-success-color * feat: add more color variables
15 lines
579 B
Plaintext
15 lines
579 B
Plaintext
@import '../style/var.less';
|
|
|
|
@switch-size: 30px;
|
|
@switch-width: 2em;
|
|
@switch-height: 1em;
|
|
@switch-node-size: 1em;
|
|
@switch-node-background-color: var(--van-white);
|
|
@switch-node-box-shadow: 0 3px 1px 0 rgba(0, 0, 0, 0.05),
|
|
0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 3px 3px 0 rgba(0, 0, 0, 0.05);
|
|
@switch-background-color: var(--van-white);
|
|
@switch-on-background-color: var(--van-primary-color);
|
|
@switch-transition-duration: var(--van-animation-duration-base);
|
|
@switch-disabled-opacity: var(--van-disabled-opacity);
|
|
@switch-border: var(--van-border-width-base) solid rgba(0, 0, 0, 0.1);
|