django-cms / django-filer

File and Image Management Application for django
https://django-filer.readthedocs.io/
Other
1.73k stars 575 forks source link

Dark mode support for django CMS 3.11/django admin (since version 3.1) #1315

Closed fsbraun closed 1 year ago

fsbraun commented 1 year ago

Description

This PR implements css changes to reflect django CMS dark mode (if djangocms-admin-style is used) or Django dark mode (if djangocms-admin-style is not used) in a coherent way.

SASS constants are replaced by css variables of django CMS or of Django 3.1+ as a fallback.

No changes to python or js code.

I would appreciate if the PR is user tested for color experience. Install by

pip install git+https://github.com/fsbraun/django-filer.git@feat/darkmode-support#egg=django-filer

Related resources

image

Checklist

codecov[bot] commented 1 year ago

Codecov Report

Merging #1315 (e1436d7) into master (dc6afa0) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1315   +/-   ##
=======================================
  Coverage   72.21%   72.21%           
=======================================
  Files          72       72           
  Lines        3239     3239           
  Branches      563      563           
=======================================
  Hits         2339     2339           
  Misses        734      734           
  Partials      166      166           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.