Open baidyprod opened 5 months ago
In martor/css/martor-admin.css
, because of the prefers-colour-scheme: dark
option
This is being affected by the operating system's settings.
To fix it, you can add MARTOR_ENABLE_ADMIN_CSS = False
to settings.py to make the CSS slightly broken.
But fundamentally, it needs to be improved to match Django's code.
Better temp fix:
create /static/admin/custom.css
and put .main-martor { color: #000 !important; }
add to admin class:
class Media:
css = {'all': ('admin/custom.css',),}
Preview mode is broken on both bootstrap/semantic when system is using dark mode.
Details
Steps to reproduce