fix: alert component dark theme

This commit is contained in:
ycjcl868 2019-12-25 21:04:47 +08:00
parent 0431074711
commit 7215fee6e3
2 changed files with 4 additions and 5 deletions

View File

@ -3,11 +3,6 @@
@alert-prefix-cls: ~'@{ant-prefix}-alert';
@alert-message-color: @heading-color;
@alert-text-color: @text-color;
@alert-close-color: @text-color-secondary;
@alert-close-hover-color: @icon-color-hover;
.@{alert-prefix-cls} {
.reset-component;

View File

@ -728,6 +728,10 @@
@alert-error-border-color: ~`colorPalette('@{error-color}', 3) `;
@alert-error-bg-color: ~`colorPalette('@{error-color}', 1) `;
@alert-error-icon-color: @error-color;
@alert-message-color: @heading-color;
@alert-text-color: @text-color;
@alert-close-color: @text-color-secondary;
@alert-close-hover-color: @icon-color-hover;
// List
// ---