Merged
Conversation
Swap the static logo.png for a <picture> element with color-scheme sources so the README renders the black wordmark in light theme and the white wordmark in dark theme on GitHub. SVG assets added at repo root alongside the existing logo.png. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the repository’s README branding so the displayed logo adapts to GitHub light/dark themes by serving different SVG variants via a <picture> element.
Changes:
- Replace the README’s static
logo.png<img>with a theme-aware<picture>usingprefers-color-scheme. - Add new root-level logo assets:
logo-black.svg(light theme) andlogo-white.svg(dark theme).
Reviewed changes
Copilot reviewed 1 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| README.md | Swaps the logo markup to a <picture> element with light/dark srcset sources. |
| logo-black.svg | Adds the black wordmark SVG used for light theme / fallback rendering. |
| logo-white.svg | Adds the white wordmark SVG used for dark theme rendering. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
mikesoennichsen
approved these changes
Apr 23, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
<img src=\"logo.png\">in the README for a<picture>element withprefers-color-schemesources, so GitHub renders the black wordmark in light theme and the white wordmark in dark theme.logo-black.svg,logo-white.svg) at the repo root alongside the existinglogo.png.Why
On dark-mode GitHub, the current black logo fades into the background.
<picture>lets us serve the right asset per theme without JS, and GitHub's Markdown sanitizer specifically allows<picture>+<source media=\"(prefers-color-scheme: ...)\">for this purpose.Changes
README.md: replace<img src=\"logo.png\" ...>with:logo-black.svg(~20KB) andlogo-white.svg(~20KB).logo.pngin place in case any external doc/link still points at it.Test plan
prefers-color-scheme— falls back to the black SVG.🤖 Generated with Claude Code