Skip to content

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

Merged
Lms24 merged 1 commit into
masterfrom
docs/dark-mode-logo
Oct 28, 2026
Merged

Lms24 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 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>
@Lms24
Lms24 merged commit 5baae73 into master Oct 28, 2026
59 checks passed
@Lms24
Lms24 deleted the docs/dark-mode-logo branch October 28, 2026 17:22
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.

2 participants