platforms icon indicating copy to clipboard operation
platforms copied to clipboard

NovelEditor breaks dark color scheme

Open jahabeebs opened this issue 11 months ago • 4 comments

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

jahabeebs avatar Sep 10 '23 05:09 jahabeebs

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.

danielbacsur avatar Sep 10 '23 13:09 danielbacsur

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

jahabeebs avatar Sep 11 '23 05:09 jahabeebs

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

Helloyunho avatar Dec 29 '23 02:12 Helloyunho

i think i fixed it in here #376

Helloyunho avatar Dec 29 '23 10:12 Helloyunho