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

GitHub dark-mode URI fragment is deprecated #95

Open
R055A opened this issue May 2, 2023 · 0 comments
Open

GitHub dark-mode URI fragment is deprecated #95

R055A opened this issue May 2, 2023 · 0 comments

Comments

@R055A
Copy link

R055A commented May 2, 2023

It is no longer required to append #gh-dark-mode-only and #gh-light-mode-only to support rendering images in dark mode when using GitHub README.md markdown.

See here for more information: Specifying the theme an image is shown to #

It is now possible to add the prefers-color-scheme media feature to HTML in README.md markdown, but it is much better to implement it in the SVG generated files using CSS! The current deprecated implementation will require being refactored anyway.

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 a pull request may close this issue.

2 participants
@R055A and others