feat(Layout): add custom footer
This commit is contained in:
@@ -37,6 +37,18 @@ const customizeTheme = (theme, config) => {
|
||||
config.palettePrimaryDark,
|
||||
);
|
||||
|
||||
overrideIfGiven(
|
||||
shallowDefaultTheme,
|
||||
'palette.footer.main',
|
||||
config.footerBackgroundColor,
|
||||
);
|
||||
|
||||
overrideIfGiven(
|
||||
shallowDefaultTheme,
|
||||
'palette.footer.text',
|
||||
config.footerTextColor,
|
||||
);
|
||||
|
||||
return shallowDefaultTheme;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user