Support darkTheme (#459)

* add darkTheme

* set `palette` to `darkTheme`
This commit is contained in:
Dirk Klimpel 2024-07-03 08:31:24 +02:00 committed by GitHub
parent dbc7d328cc
commit 8cadfbd3af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,6 +50,7 @@ const App = () => (
authProvider={authProvider} authProvider={authProvider}
dataProvider={dataProvider} dataProvider={dataProvider}
i18nProvider={i18nProvider} i18nProvider={i18nProvider}
darkTheme={{ palette: { mode: "dark" } }}
> >
<CustomRoutes> <CustomRoutes>
<Route path="/import_users" element={<ImportFeature />} /> <Route path="/import_users" element={<ImportFeature />} />