Skip to content

Text is unreadable in dark mode #36

Description

@nilskretschmer

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions