filament-jsoneditor icon indicating copy to clipboard operation
filament-jsoneditor copied to clipboard

Text is unreadable in dark mode

Open nilskretschmer opened this issue 1 year ago • 2 comments

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!

nilskretschmer avatar Jun 03 '24 08:06 nilskretschmer

Hi, I will have a look

invaders-xx avatar Jun 03 '24 08:06 invaders-xx

Can you implement support for Filament v4?

LvckyAPI avatar Aug 18 '25 20:08 LvckyAPI