Whenever switching to dark mode, it's a mix between the light theme and dark mode for payload.
Light theme looks perfectly fine...
Oh and good to mention, console doesn't show a thing, no errors loading anything on the network tab either.
Not sure buy maybe we also have to load in the css in withPayload as it accepts a cssConfig aswell
Are you loading your own css? Is it overwriting payloads css?
For me both light and dark are not working properly, not loading any custom
Does the demo load properly for you?https://demo.payloadcms.com/admin/account
ye it does
Only css im using is tailwind
So let me try to disable that.
Yup! it's tailwind!
@angelok2741 you're using Tailwind as well?
Okay, managed to fix it. I was trying to make the admin page work for the
directory instead of the
directory always loads the
file and the stylesheets registered in there.
Apparently you can use both the
directory and the
directory along each other, so moving the payload pages back to the
directory seems to work just fine 🙂
Ah yes, i am using tailwind aswell. Created a new nextjs with tailwind flag