From 59cf860564d22ad756e70da273e070ad9dbea47c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=A0=E6=9C=A8?= Date: Wed, 21 Jul 2021 23:19:44 +0800 Subject: [PATCH] style(alert): fix alert border color MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复Alert组件的默认边框颜色不正确的问题 --- src/design/theme.less | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/design/theme.less b/src/design/theme.less index 79789d3e..b7a6f2c6 100644 --- a/src/design/theme.less +++ b/src/design/theme.less @@ -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'] { -- GitLab