django-cms / djangocms-admin-style

django CMS Admin Style is a Django Theme tailored to the needs of django CMS.
http://www.django-cms.org/
Other
412 stars 116 forks source link

New feature: Dark mode for front-end editing #443

Closed fsbraun closed 2 years ago

fsbraun commented 2 years ago

Description

Since Django 3.2 the admin interface respects "dark mode", i.e. if selected by the user, the admin shows on dark background instead if light background. Dark mode is often used by IT people. Currently, django CMS does not respect a selected dark mode leading to a admin pages partly on dark background, partly on bright background giving the impression of a broken UI design.

This PR introduces changes to the css so than django CMS can respect dark mode in the front-end editing process.

Changes:

Related resources

There is a similar PR for django-cms. With both accepted django CMS will give a nice dark mode design: PR 7245

Checklist

No tests are affected.

codecov-commenter commented 2 years ago

Codecov Report

Merging #443 (83048ac) into master (d6caf92) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #443   +/-   ##
=======================================
  Coverage   36.11%   36.11%           
=======================================
  Files           2        2           
  Lines          36       36           
  Branches        1        1           
=======================================
  Hits           13       13           
  Misses         23       23           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d6caf92...83048ac. Read the comment docs.