Repository navigation
fix: keep the logo readable in dark mode - #1053
Merged
Merged
Conversation
Co-authored-by: Sam Abbott <contact@samabbott.co.uk>
The dark-mode media query followed the reader's system setting, not GitHub's theme, so a light page with a dark OS drew light text on white. Drop it and use slate tones that read on both white and GitHub dark. Co-authored-by: Sam Abbott <contact@samabbott.co.uk>
Co-authored-by: Sam Abbott <contact@samabbott.co.uk>
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.
This is entirely from an agent so do not review until I have pinged for review as I will do a first pass
The logo was hard to read on GitHub's dark background, and its lines were thin on both themes.
This PR gives it colours that read on white and on dark, and heavier lines.
It is one file with no theme switching.
Claude Opus 5.5
Why one file and no media query
An earlier version used a
prefers-color-schememedia query.That follows the operating system, not GitHub's theme, so a light page on a dark OS showed light text on white.
Balanced colours in one file avoid this.
Light mode looks nearly the same as before.
Files and checks
docs/src/assets/epiaware-logo.svgdocs/src/assets/logo.svgEach changed SVG was rendered with
rsvg-converton white and on #0d1117 and checked by eye.The same change is in EpiAware/EpiAwarePackageTools.jl#613, which ships the shared logo to every package.
This was opened by a bot. Please ping @seabbs for any questions.