Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Feat: Dark mode support for standard editor UI (a.k.a. "skin") moono-lisa#592

Merged
vinitkumar merged 15 commits intodjango-cms:masterfrom
fsbraun:master
Mar 8, 2022
Merged

Feat: Dark mode support for standard editor UI (a.k.a. "skin") moono-lisa#592
vinitkumar merged 15 commits intodjango-cms:masterfrom
fsbraun:master

Conversation

@fsbraun
Copy link
Copy Markdown
Member

@fsbraun fsbraun commented Mar 7, 2022

Since the skin for ckeditor4 is not under development now for several years. The dark mode support works by patching and replacing all explicit color values #000 by corresponding css variables.

The new private folder contains the original moono-lisa skin and a short python script to patch it. Upon running it will regenerate the css files in the project's static folder.

Since icons are stored in a large bitmap with fixed colors, icons made dark mode aware by adding filter: brightness(3).

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 8, 2022

Codecov Report

Merging #592 (e1c582b) into master (07d707c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #592   +/-   ##
=======================================
  Coverage   73.22%   73.22%           
=======================================
  Files          19       19           
  Lines         829      829           
  Branches      114      114           
=======================================
  Hits          607      607           
  Misses        198      198           
  Partials       24       24           

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 0882726...e1c582b. Read the comment docs.

Copy link
Copy Markdown
Member

@vinitkumar vinitkumar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fsbraun Can you please fix these flake8 errors?

@marksweb marksweb requested a review from vinitkumar March 8, 2022 15:44
@vinitkumar vinitkumar merged commit b955396 into django-cms:master Mar 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants