Open
Description
What's the problem this feature will solve?
Github supports rendering a specific image for light vs. dark mode by actually specifying two images. Here's an example PR: getsentry/sentry#33799
However when the .md file is rendered elsewhere (like pypi) it would show up as 2 images.
Describe the solution you'd like
It would be great if pypi could show light mode images only, and hide dark mode images (since pypi doesn't have a dark mode). If pypi ever adds a dark mode feature, it could use the correct image at that time.
Additional context
- https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#specifying-the-theme-an-image-is-shown-to
- chore: Fix dark mode logo in readme getsentry/sentry-python#1342
- Support GitHub theme-conditional images in README / Marketplace page microsoft/vscode#139556
- https://github.community/t/support-theme-context-for-images-in-light-vs-dark-mode/147981