fix(message): Enables the message to support colorText (#41047)

This commit is contained in:
JiaQi 2023-03-05 16:39:43 +08:00 committed by GitHub
parent d7378a09ba
commit 673d8a029b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,7 @@ const genMessageStyle: GenerateStyle<MessageToken> = (token) => {
componentCls,
iconCls,
boxShadow,
colorText,
colorBgElevated,
colorSuccess,
colorError,
@ -69,6 +70,7 @@ const genMessageStyle: GenerateStyle<MessageToken> = (token) => {
{
[componentCls]: {
...resetComponent(token),
color: colorText,
position: 'fixed',
top: marginXS,
width: '100%',