Skip to content

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

Merged
Litarnus merged 1 commit into
masterfrom
docs/dark-mode-logo
Oct 27, 2026
Merged

Litarnus 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>
@Litarnus
Litarnus merged commit 77e0c23 into master Oct 27, 2026
44 checks passed
@Litarnus
Litarnus deleted the docs/dark-mode-logo branch October 27, 2026 17:45
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