mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
feat(GoodsActionButton): add new css variable goods-action-line-height (#3037)
fix #3032
This commit is contained in:
parent
ad30ba60e9
commit
10810e2b45
@ -251,6 +251,7 @@
|
||||
@goods-action-icon-font-size: @font-size-xs;
|
||||
@goods-action-icon-text-color: @gray-7;
|
||||
@goods-action-button-height: 40px;
|
||||
@goods-action-button-line-height: @button-line-height;
|
||||
@goods-action-button-border-radius: @goods-action-button-height / 2;
|
||||
@goods-action-button-warning-color: @gradient-orange;
|
||||
@goods-action-button-danger-color: @gradient-red;
|
||||
|
@ -12,7 +12,7 @@
|
||||
);
|
||||
.theme(--button-danger-background-color, '@goods-action-button-danger-color');
|
||||
.theme(--button-default-height, '@goods-action-button-height');
|
||||
.theme(--button-line-height, '@goods-action-button-height');
|
||||
.theme(--button-line-height, '@goods-action-button-line-height');
|
||||
.theme(--button-plain-background-color, '@goods-action-button-plain-color');
|
||||
|
||||
display: block;
|
||||
|
Loading…
x
Reference in New Issue
Block a user