mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 12:38:58 +08:00
fix(message): Enables the message to support colorText (#41047)
This commit is contained in:
parent
d7378a09ba
commit
673d8a029b
@ -21,6 +21,7 @@ const genMessageStyle: GenerateStyle<MessageToken> = (token) => {
|
|||||||
componentCls,
|
componentCls,
|
||||||
iconCls,
|
iconCls,
|
||||||
boxShadow,
|
boxShadow,
|
||||||
|
colorText,
|
||||||
colorBgElevated,
|
colorBgElevated,
|
||||||
colorSuccess,
|
colorSuccess,
|
||||||
colorError,
|
colorError,
|
||||||
@ -69,6 +70,7 @@ const genMessageStyle: GenerateStyle<MessageToken> = (token) => {
|
|||||||
{
|
{
|
||||||
[componentCls]: {
|
[componentCls]: {
|
||||||
...resetComponent(token),
|
...resetComponent(token),
|
||||||
|
color: colorText,
|
||||||
position: 'fixed',
|
position: 'fixed',
|
||||||
top: marginXS,
|
top: marginXS,
|
||||||
width: '100%',
|
width: '100%',
|
||||||
|
Loading…
Reference in New Issue
Block a user