Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NovelEditor breaks dark color scheme #315

Open
jahabeebs opened this issue Sep 10, 2023 · 4 comments
Open

NovelEditor breaks dark color scheme #315

jahabeebs opened this issue Sep 10, 2023 · 4 comments

Comments

@jahabeebs
Copy link

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
Copy link

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
Copy link
Author

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: b99d24a

@jahabeebs jahabeebs changed the title Dark color scheme broken in post editor NovelEditor breaks dark color scheme Sep 11, 2023
@Helloyunho
Copy link

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

@Helloyunho
Copy link

i think i fixed it in here #376

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants