Commit 59cf860564d22ad756e70da273e070ad9dbea47c
1 parent
662b576a
style(alert): fix alert border color
修复Alert组件的默认边框颜色不正确的问题
Showing
1 changed file
with
15 additions
and
0 deletions
src/design/theme.less
@@ -6,6 +6,21 @@ html[data-theme='light'] { | @@ -6,6 +6,21 @@ html[data-theme='light'] { | ||
6 | .text-secondary { | 6 | .text-secondary { |
7 | color: rgba(0, 0, 0, 0.45); | 7 | color: rgba(0, 0, 0, 0.45); |
8 | } | 8 | } |
9 | + | ||
10 | + .ant-alert-success { | ||
11 | + background-color: #f6ffed; | ||
12 | + border: 1px solid #b7eb8f; | ||
13 | + } | ||
14 | + | ||
15 | + .ant-alert-error { | ||
16 | + background-color: #fff2f0; | ||
17 | + border: 1px solid #ffccc7; | ||
18 | + } | ||
19 | + | ||
20 | + .ant-alert-warning { | ||
21 | + background-color: #fffbe6; | ||
22 | + border: 1px solid #ffe58f; | ||
23 | + } | ||
9 | } | 24 | } |
10 | 25 | ||
11 | [data-theme='dark'] { | 26 | [data-theme='dark'] { |