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

Replace deprecated theme fragment syntax with prefers-color-scheme #2354

Merged
merged 1 commit into from
Jun 30, 2022

Conversation

rtsao
Copy link
Contributor

@rtsao rtsao commented Jun 29, 2022

Per 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:

The old method of specifying images based on the theme, by using a fragment appended to the URL (#gh-dark-mode-only or #gh-light-mode-only), is deprecated and will be removed in favor of the new method described above.

@evanw evanw merged commit 688042e into evanw:master Jun 30, 2022
@evanw
Copy link
Owner

evanw commented Jun 30, 2022

Looks like it works. Thanks!

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