Skip to content

doc: fix README logo on dark theme and add dark-mode variant#257

Merged
daniel-rossier merged 1 commit into
mainfrom
doc/readme-logo-dark
Jun 29, 2026
Merged

doc: fix README logo on dark theme and add dark-mode variant#257
daniel-rossier merged 1 commit into
mainfrom
doc/readme-logo-dark

Conversation

@daniel-rossier

@daniel-rossier daniel-rossier commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Problem

The README logo (SO3_with_text.png) has its letter counters (the insides of O, B, R…) and circle centers filled with opaque white instead of transparency. This is invisible on a white page, but on GitHub's dark theme it shows up as white blobs, and the navy wordmark/subtitle reads poorly.

Fix

  • SO3_with_text.png: white counters/centers → transparent (identical rendering in light mode).
  • SO3_with_text_dark.png: dark-mode variant (navy wordmark/subtitle recolored to light blue, orange kept).
  • README.md: <picture> + prefers-color-scheme → dark variant on the dark theme, original on the light theme.

Verify by viewing the README on GitHub in dark mode.

Use the true-transparent logo source (clean letter counters and circle
centers) for the full README logo, and add a dark-mode variant of it.
The README serves the dark variant through <picture> +
prefers-color-scheme so the logo reads well on GitHub's dark theme; the
light logo is kept for the light theme and for the Sphinx docs, which
stay light-only.

- SO3_with_text.png      : full logo (light), true-transparent source
- SO3_with_text_dark.png : full logo (dark variant, navy -> light blue)
@daniel-rossier daniel-rossier merged commit 857d2ef into main Jun 29, 2026
6 checks passed
@daniel-rossier daniel-rossier deleted the doc/readme-logo-dark branch June 29, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant