fix: use @error-color & @warning-color instead of @text-color-danger & @text-color-warning #16856

This commit is contained in:
MrHeer 2019-05-29 19:19:32 +08:00
parent abb8692b59
commit 239c472c38
2 changed files with 2 additions and 4 deletions

View File

@ -47,8 +47,6 @@
@code-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
@text-color: fade(@black, 65%);
@text-color-secondary: fade(@black, 45%);
@text-color-warning: @gold-7;
@text-color-danger: @red-7;
@text-color-inverse: @white;
@icon-color: inherit;
@icon-color-hover: fade(@black, 75%);

View File

@ -39,11 +39,11 @@
}
&&-warning {
color: @text-color-warning;
color: @warning-color;
}
&&-danger {
color: @text-color-danger;
color: @error-color;
}
&&-disabled {