Skip to content

docs: improve version states diagram visibility in dark mode #7 - #18

Merged
fsbraun merged 2 commits into
django-cms:mainfrom
jyoti-bhogal:version-states-image
Nov 3, 2026
Merged

fsbraun merged 2 commits into
django-cms:mainfrom
jyoti-bhogal:version-states-image

Conversation

@jyoti-bhogal

Copy link
Copy Markdown
Contributor

Fixes #7

Description

Improves the visibility of the version states diagram in the django CMS User Guide when dark mode is enabled.

The previous diagram contains black arrows and state labels that become difficult to see against the dark background.

Changes

  • Added an opaque white background to the diagram using a Python script.
  • Updated the reStructuredText reference to use the revised image.

Testing

  • Successfully built the documentation locally using make html.
  • Verified the diagram in both light and dark modes.

@jyoti-bhogal

Copy link
Copy Markdown
Contributor Author

Hi @fsbraun ! I have fixed this issue by editing the image to change its background from transparent to white. Now, the image content is clearly visible in both, light and dark modes.

Could you please review this PR?

Thanks!

@fsbraun fsbraun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great! Solves the problem!!

@fsbraun
fsbraun merged commit 207ff73 into django-cms:main Nov 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change the picture in "Version States"

2 participants