Repository navigation
Show the LEDSA logo in the sidebar of the documentation - #188
Merged
Merged
Conversation
The logo switches its ink with the colour scheme, so the header behind it does too; on the theme's blue the blue arm of the E would vanish. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Adds the LEDSA wordmark to the Sphinx documentation.
doc/images/ledsa_logo.svg, the 8-bit wordmark whose E carries the red, green and blue channels and whose D carries the diode symbol.html_logowithlogo_only, so it replaces the project name in the sidebar header; the wordmark already spells the name.doc/_static/logo.css, which changes the background of the sidebar header.The logo switches its ink between dark and light with
prefers-color-scheme. The Read the Docs theme has no dark mode and keeps its blue header in both schemes, so in a dark scheme the blue arm of the E vanished and the logo read "LFDSA". The header is now off-white in a light scheme and the logo's own ink colour#1c2230in a dark one, so all three arms show in both. The logo also getscolor-scheme: light dark, so browsers that take the scheme of an SVG image from the embedding element follow the reader's preference like the header does.Checked in a local build in light and dark scheme and at phone width (slide-out menu). The local build left out
sphinx_copybutton, which is not installed here; the workflow installs it. The README is unchanged: it is also the description on PyPI, whose white page would show the light ink of a dark scheme nearly invisible.🤖 Generated with Claude Code