etkecc/synapse-admin

Make footer use preferred theme

Closed this issue · 0 comments

Similarly to 86d0fd0 please make Footer use preferred theme. Unfortunately, for some reason useTheme() from react-admin and from Material UI return light theme, despite the dark is set as preferred (and used everywhere).

I tried to use ThemeProvider with ThemesContext.Provider to wrap the app (Admin and Footer), but that didn't help either.