Repository navigation
docs: add dark mode logo support with theme-aware SVG assets - #77
Merged
Merged
Conversation
bogdan-at-bunny
approved these changes
Oct 21, 2026
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
The "bunny" wordmark in
resources/bunnynet.svghas no explicit fill, so it rendered black and nearly disappeared on GitHub's dark mode. The README header now wraps the logo in a<picture>element with aprefers-color-scheme: darksource pointing to the new white-wordmark asset (docs/img/Horizontal-full-color-white.svg) supplied by product marketing. Light mode and non-supporting renderers continue to use the existing logo. Both SVGs share the same aspect ratio, so thewidth="70%"sizing applies identically.Type of Change
Affected Areas
Testing
Docs-only change — verified the
<picture>markup, theprefers-color-scheme: darkmedia query (the GitHub-supported dark-mode mechanism), and that both SVGs share an equivalent aspect ratio so sizing stays consistent.yarn typecheckyarn lintyarn testyarn androidinexample/)yarn iosinexample/)Library User Impact
None — README rendering only. The new asset lives in
docs/img/and is not shipped in the npm package.AI Assistance
Checklist
native-sdk-baselines.jsonpoints to a public, merged native SDK commit or tag when native APIs are required.