Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

docs: mark logo as dark mode safe #1924

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
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.

2 participants