Skip to content

docs: mark logo as dark mode safe #1924

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged

Conversation

Conengmo
Copy link
Member

@Conengmo Conengmo commented Apr 4, 2024

Tiny tweak to fix something that bothered me: the transparent png logo in our docs has a white background when using dark mode. Turns out the theme we use does this on purpose and expects us to mark images that are safe for dark mode: https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/light-dark.html#images-and-content-that-work-in-both-themes. Do that here by adding the 'dark-light' class.

** Before **

afbeelding

** After **

afbeelding

@hansthen
Copy link
Collaborator

hansthen commented Apr 7, 2024

Looks good to me

@hansthen hansthen self-requested a review April 7, 2024 10:57
@hansthen hansthen merged commit 6458cb6 into python-visualization:main Apr 7, 2024
11 checks passed
@Conengmo Conengmo deleted the mark-logo-as-dark-mode-safe branch June 14, 2024 15:19
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants