Skip to content

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

Merged
logaretm merged 1 commit into
developfrom
docs/dark-mode-logo
Oct 27, 2026
Merged

logaretm merged 1 commit into
developfrom
docs/dark-mode-logo

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

The current wordmark 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 keeps the existing purple wordmark otherwise, so light mode looks unchanged. 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>
@sentry-junior
sentry-junior Bot requested review from a team as code owners October 27, 2026 17:26
@sentry-junior
sentry-junior Bot requested review from andreiborza, chargome, isaacs, logaretm, msonnb and nicohrubec and removed request for a team October 27, 2026 17:26
@logaretm
logaretm merged commit 99314fa into develop Oct 27, 2026
40 checks passed
@logaretm
logaretm deleted the docs/dark-mode-logo branch October 27, 2026 19:31
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.

3 participants