Description
API Platform admin component overrides the react-admin theme, but during the override some changes made by react-admin to the mui theme were not imported, resulting in differences between dark and light mode, mostly on form components
How to reproduce
Simply checking any form on the API Platform admin demo and switching between dark and light mode
API Platform version(s) affected ^3.0.0
Description
API Platform
admin
component overrides thereact-admin
theme, but during the override some changes made byreact-admin
to themui
theme were not imported, resulting in differences between dark and light mode, mostly on form componentsHow to reproduce Simply checking any form on the API Platform admin demo and switching between dark and light mode
Additional Context
![diff-theme-2](https://user-images.githubusercontent.com/3305030/196210711-e5f36e75-b7a1-419f-8ef6-752383cb2b31.png)
Pull request to follow 👋🏻