feat: button组件替换

This commit is contained in:
rd
2025-09-03 11:15:37 +08:00
parent 01d561cfb2
commit db67274583
128 changed files with 805 additions and 745 deletions

View File

@ -8,6 +8,8 @@
font-weight: 400 !important;
line-height: 22px !important;
padding: 0 16px;
display: flex;
align-items: center;
&.ant-btn-lg {
height: 36px;
padding: 0 20px;
@ -75,6 +77,38 @@
}
}
}
&.ant-btn-background-ghost {
border: 1px solid $color-primary !important;
color: $color-primary !important;
background-color: #fff !important;
&:disabled {
border-color: $color-primary-3 !important;
color: $color-primary-3 !important;
background-color: #fff !important;
}
&:not(:disabled) {
&:hover {
border-color: $color-primary-5 !important;
color: $color-primary-5 !important;
background-color: #fff !important;
}
}
&.ant-btn-dangerous {
border: 1px solid $color-error !important;
color: $color-error !important;
background-color: #fff !important;
&:disabled {
border-color: $color-error-3 !important;
color: $color-error-3 !important;
}
&:not(:disabled) {
&:hover {
border-color: $color-error-5 !important;
color: $color-error-5 !important;
}
}
}
}
}
.ant-btn-outline {