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

Add logo for the dark mode in readme.md #3599

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

yankay
Copy link
Contributor

@yankay yankay commented Oct 24, 2024

The logo is not correct in the dark mode.
So, generate a light version of the logo to show in dark mode.

fix #3596

@yankay yankay force-pushed the ignore-logo-in-dark-mode branch 4 times, most recently from 1a0d5b1 to 027a84e Compare October 24, 2024 07:24
README.md Outdated
@@ -5,7 +5,8 @@

# nerdctl: Docker-compatible CLI for containerd

![logo](docs/images/nerdctl.svg)
![logo light mode](docs/images/nerdctl.svg#gh-light-mode-only)
![logo dark mode](docs/images/nerdctl-white.svg#gh-dark-mode-only)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 closing down and will be removed in favor of the new method described above.

@AkihiroSuda AkihiroSuda added the documentation Improvements or additions to documentation label Oct 24, 2024
@yankay yankay force-pushed the ignore-logo-in-dark-mode branch from 027a84e to 2919f11 Compare October 24, 2024 09:55
Signed-off-by: Kay Yan <[email protected]>
@yankay yankay force-pushed the ignore-logo-in-dark-mode branch from 2919f11 to af25fd4 Compare October 24, 2024 09:56
@yankay yankay changed the title Only show logo in the light mode in readme.md Add logo for the dark mode in readme.md Oct 24, 2024
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda added this to the v2.0.0 milestone Oct 24, 2024
@AkihiroSuda AkihiroSuda merged commit e2a51a0 into containerd:main Oct 24, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(prefers-color-scheme: dark)-friendly image in README
2 participants