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

Text is unreadable in dark mode #36

Open
nilskretschmer opened this issue Jun 3, 2024 · 1 comment
Open

Text is unreadable in dark mode #36

nilskretschmer opened this issue Jun 3, 2024 · 1 comment

Comments

@nilskretschmer
Copy link

Hi,

if I use the JSONEditor while the dark mode of the Filament default panel (admin panel) is activated the text in the preview mode is in the same color as the editor background rendering the text unreadable:
grafik

grafik

The repository only has minified css files so I don't know how to change the color in the preview mode using this package. I think I could only overwrite the preview-class using external CSS. I think it would be better if the editor itself uses tailwind dark-classes to render the text color correctly?

Greetings and thank you for your work!

@invaders-xx
Copy link
Owner

Hi, I will have a look

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

2 participants