mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
fix: use @error-color & @warning-color instead of @text-color-danger & @text-color-warning #16856
This commit is contained in:
parent
abb8692b59
commit
239c472c38
@ -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%);
|
||||
|
@ -39,11 +39,11 @@
|
||||
}
|
||||
|
||||
&&-warning {
|
||||
color: @text-color-warning;
|
||||
color: @warning-color;
|
||||
}
|
||||
|
||||
&&-danger {
|
||||
color: @text-color-danger;
|
||||
color: @error-color;
|
||||
}
|
||||
|
||||
&&-disabled {
|
||||
|
Loading…
Reference in New Issue
Block a user