vercel / platforms

A full-stack Next.js app with multi-tenancy and custom domain support. Built with Next.js App Router and the Vercel Domains API.
https://app.vercel.pub
5.38k stars 689 forks source link

NovelEditor breaks dark color scheme #315

Open jahabeebs opened 10 months ago

jahabeebs commented 10 months ago

On the path http://app.localhost:3000/post/[id] the dark color scheme fails--various components become light and the editor text fails to become lighter. This issue can be replicated on multiple browsers (I've tried with Chrome & Firefox)

If you hit the back button to the http://app.localhost:3000/site/[id] path the sidebar stays light but will change back to dark after a hard refresh

Screen Shot 2023-09-10 at 12 44 35 AM
danielbacsur commented 9 months ago

If you dont use the NovelEditor, then you can delete that component. That's the component that breaks tailwind. I did this and it's working fine.

jahabeebs commented 9 months ago

If you dont use the NovelEditor, then you can delete that component. That's the component that breaks tailwind. I did this and it's working fine.

Thanks! Looks like you're right, the issue is that the editor within the "novel" package isn't matching the themes correctly--maybe there's a way to add it to tailwind's content array to avoid breaking the themes? For now anyone with this issue can revert adding the "novel" package to have the themes work correctly.

breaking commit: https://github.com/vercel/platforms/commit/b99d24a0ad43f9b11dde10ffe1b4ac14c26f300d

Helloyunho commented 6 months ago

bumping up this issue since it still isn't fixed yet

Helloyunho commented 6 months ago

i think i fixed it in here #376