Skip to content

Conversation

@PH-KDX
Copy link
Contributor

@PH-KDX PH-KDX commented May 28, 2021

Fixes differently colored blocks in the right sidebar in the dark mode docs.

For comparison, see the following two images:
Before fix (current situation):
before_fix
After fix:
after_fix

Change proposed in this pull request:

  • Make the background-color of the top part of the right sidebar in the docs darker when in dark mode to match the rest of the right sidebar

@radarhere radarhere changed the title fix differing background colors in right sidebar in dark mode docs [ci skip] Fix differing background colors in right sidebar in dark mode docs May 28, 2021
Removed duplicate block
.wy-body-for-nav {
background-image: initial;
background-color: rgb(26, 28, 29);
background-color: rgb(24, 26, 27);
Copy link
Member

Choose a reason for hiding this comment

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

How did you come up with this new value?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Got it from the bottom half with Inspect Element; it also has a better contrast with the main text block. Several members of the Python Discord helped decide on it.

@PH-KDX
Copy link
Contributor Author

PH-KDX commented Jun 2, 2021

What's the current status on this?

@hugovk hugovk merged commit c2a6ceb into python-pillow:master Jun 12, 2021
@hugovk
Copy link
Member

hugovk commented Jun 12, 2021

The current status is... merged! Thanks for the PR!

@PH-KDX
Copy link
Contributor Author

PH-KDX commented Jun 12, 2021

Perfect, thanks!

@PH-KDX PH-KDX deleted the sidebar-fix branch June 12, 2021 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants