Skip to content

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

Merged
solnic merged 1 commit into
masterfrom
docs/dark-mode-logo
Nov 2, 2026
Merged

solnic merged 1 commit into
masterfrom
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>
@solnic
solnic merged commit fe83a79 into master Nov 2, 2026
156 of 157 checks passed
@solnic
solnic deleted the docs/dark-mode-logo branch November 2, 2026 11:16
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