Is there a way to prevent dark Mode in the admin panel?
I've tried to use a custom index.html and manually set the data-theme attribute to "light", it gets overwritten though
I am not aware if there is an official way to disable it but I guess you can make this happen with a custom provider and just setting data-theme attribute to light in the initial useEffect
https://payloadcms.com/docs/admin/components#custom-providersStar
Discord
online
Get help straight from the Payload team with an Enterprise License.