invaders-xx / filament-jsoneditor

MIT License
22 stars 15 forks source link

Text is unreadable in dark mode #36

Open nilskretschmer opened 3 months ago

nilskretschmer commented 3 months ago

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 commented 3 months ago

Hi, I will have a look