mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 12:38:58 +08:00
fix: Layout missing use colorBgLayout (#38041)
This commit is contained in:
parent
490c1ddf2b
commit
f85698f70e
@ -213,9 +213,13 @@ export default genComponentStyleHook(
|
||||
|
||||
return [genLayoutStyle(layoutToken)];
|
||||
},
|
||||
{
|
||||
colorBgHeader: '#001529',
|
||||
colorBgBody: '#f0f2f5',
|
||||
colorBgTrigger: '#002140',
|
||||
token => {
|
||||
const { colorBgLayout } = token;
|
||||
|
||||
return {
|
||||
colorBgHeader: '#001529',
|
||||
colorBgBody: colorBgLayout,
|
||||
colorBgTrigger: '#002140',
|
||||
};
|
||||
},
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user