Skip to content

Commit

Permalink
style(alert): fix alert border color
Browse files Browse the repository at this point in the history
修复Alert组件的默认边框颜色不正确的问题
  • Loading branch information
mynetfan committed Jul 21, 2021
1 parent 662b576 commit 59cf860
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/design/theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@ html[data-theme='light'] {
.text-secondary {
color: rgba(0, 0, 0, 0.45);
}

.ant-alert-success {
background-color: #f6ffed;
border: 1px solid #b7eb8f;
}

.ant-alert-error {
background-color: #fff2f0;
border: 1px solid #ffccc7;
}

.ant-alert-warning {
background-color: #fffbe6;
border: 1px solid #ffe58f;
}
}

[data-theme='dark'] {
Expand Down

0 comments on commit 59cf860

Please sign in to comment.