fix(dark-theme): alert color in dark-theme

修复Alert组件在Dark主题下的颜色问题
This commit is contained in:
无木
2021-07-21 21:39:23 +08:00
parent 8cf004a5f5
commit 9b7ede09b9
3 changed files with 43 additions and 6 deletions

View File

@@ -23,10 +23,12 @@ html[data-theme='dark'] {
0 1px 0 0 #434343 inset;
}
.ant-alert-message,
.ant-alert-with-description .ant-alert-message,
.ant-alert-description {
color: rgba(0, 0, 0, 0.85);
html[data-theme='light'] {
.ant-alert-message,
.ant-alert-with-description .ant-alert-message,
.ant-alert-description {
color: rgba(0, 0, 0, 0.85);
}
}
.ant-checkbox-checked .ant-checkbox-inner::after {