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

Styling is not compatible with dark mode in chrome

Open jakobholmelund opened this issue 1 year ago • 3 comments

Styling doesn't work in most views when dark mode in chrome is active

image

jakobholmelund avatar Aug 23 '23 11:08 jakobholmelund

You probably should ask the author of the frontend library used in this package:

https://github.com/josdejong/jsoneditor

nnseva avatar Sep 21 '23 08:09 nnseva

After the frontend library update you might use the latest version of the library using settings:

JSON_EDITOR_JS = 'https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/<latest-version-number>/jsoneditor.min.js'
JSON_EDITOR_CSS = 'https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/<latest-version-number>/jsoneditor.css'

nnseva avatar Sep 21 '23 08:09 nnseva

https://github.com/rabbit-aaron/django_theme_css_loader

I wrote this lib to solve the theme switching problem, this way I can switch between different CSS on theme change.

rabbit-aaron avatar Apr 08 '24 06:04 rabbit-aaron