feat: 统一button4种样式:primary/outline/text/default

This commit is contained in:
rd
2025-07-22 11:28:39 +08:00
parent 110ad79e7d
commit 55174e4258
37 changed files with 164 additions and 132 deletions

View File

@ -0,0 +1,67 @@
$disabled-ele: '.arco-btn-disabled';
.arco-btn {
border-radius: 2px;
border: 1px solid #d7d7d9 !important;
color: #3c4043 !important;
font-family: $font-family-regular;
font-size: 14px !important;
font-style: normal;
font-weight: 400 !important;
line-height: 22px !important;
&.arco-btn-disabled {
border-color: #f2f3f5 !important;
color: #b1b2b5 !important;
}
&:not(.arco-btn-disabled) {
&:hover {
border-color: #e6e6e8 !important;
color: #737478 !important;
}
}
}
.arco-btn-primary {
background-color: #6d4cfe !important;
border: none !important;
color: #fff !important;
&.arco-btn-disabled {
color: #fff !important;
background-color: #c5b7ff !important;
}
&:not(.arco-btn-disabled) {
&:hover {
color: #fff !important;
background-color: #8a70fe !important;
}
}
}
.arco-btn-outline {
border: 1px solid #6d4cfe !important;
color: #6d4cfe !important;
&.arco-btn-disabled {
border-color: #c5b7ff !important;
color: #c5b7ff !important;
}
&:not(.arco-btn-disabled) {
&:hover {
border-color: #8a70fe !important;
color: #8a70fe !important;
}
}
}
.arco-btn-text {
background-color: transparent !important;
border: none !important;
color: #6d4cfe !important;
&.arco-btn-disabled {
color: #c5b7ff !important;
}
&:not(.arco-btn-disabled) {
&:hover {
color: #8a70fe !important;
}
}
}

View File

@ -6,4 +6,5 @@
@import './modal.scss';
@import "./textarea.scss";
@import "./select.scss";
@import "./date-picker.scss"
@import "./date-picker.scss";
@import "./button.scss";