Skip to content

docs: Use dark-mode-aware Sentry logo in READMEs - #1461

Merged
christophaigner merged 1 commit into
mainfrom
docs/dark-mode-logo
Oct 27, 2026
Merged

christophaigner merged 1 commit into
mainfrom
docs/dark-mode-logo

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

The current black logo is dark on a transparent background, so it is nearly illegible when GitHub is in dark mode.

This wraps the logo in a <picture> element that serves sentry-logo-white.png for prefers-color-scheme: dark and the purple Sentry wordmark (sentry-wordmark-dark-280x84.png) otherwise, matching the other Sentry SDK READMEs. The plain <img> fallback keeps renderers without <picture> support working.

via Daniel Szoke.

--

View Junior Session [Sentry]

The current wordmark is dark on a transparent background, so it is nearly illegible when GitHub is in dark mode.

Wrap the logo in a `<picture>` element that serves `sentry-logo-white.png` for `prefers-color-scheme: dark` and the purple `sentry-wordmark-dark-280x84.png` otherwise. The plain `<img>` fallback keeps renderers without `<picture>` support working.

Co-Authored-By: Daniel Szoke <daniel.szoke@sentry.io>
@christophaigner
christophaigner merged commit 420ad3f into main Oct 27, 2026
20 of 21 checks passed
@christophaigner
christophaigner deleted the docs/dark-mode-logo branch October 27, 2026 18:13
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