style(button): 优化按钮组件样式

This commit is contained in:
rd
2025-09-16 10:34:43 +08:00
parent 8944fc8e6c
commit a9434e7270
2 changed files with 8 additions and 1 deletions

View File

@ -51,6 +51,8 @@
background-color: $color-primary !important;
border-color: transparent !important;
color: #fff !important;
&:disabled {
color: #fff !important;
border-color: transparent !important;
@ -67,6 +69,11 @@
outline-offset: unset;
}
}
.ant-wave {
background: $color-primary-7 !important;
--wave-color: $color-primary-7;
}
&.ant-btn-dangerous {
background-color: $color-error !important;
&:disabled {
@ -125,6 +132,7 @@
color: $color-primary-5 !important;
}
}
&.ant-btn-dangerous {
border: 1px solid $color-error !important;
color: $color-error !important;