Skip to content

Switch README logo to SVG with light/dark mode support#11415

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
masterfrom
bdu/logo
May 19, 2026
Merged

Switch README logo to SVG with light/dark mode support#11415
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
masterfrom
bdu/logo

Conversation

@bric3
Copy link
Copy Markdown
Contributor

@bric3 bric3 commented May 19, 2026

What Does This Do

Switch the README logo to a <picture> element with prefers-color-scheme sources, and center it.

image image

Motivation

SVG are crisp at any size, while the previous PNG file (dd_horizontal_white.png) wasn't. The _datadog_small.svg are ~2 KiB versus tens of KiB for the old PNG.

It's hosted on the Datadog CDN static.datadoghq.com, rather than the imgx provider.

The SVG and the choice of the picture element match the expected presskit guidelines.

Note

GitHub provides two mechanisms for light / dark images :

  1. <picture> element with prefers-color-scheme media, which is used here, because it also lets the logo be centered via the wrapping <p align="center">.
  2. Markdown URL fragments (#gh-light-mode-only / #gh-dark-mode-only), while this is pure markdown, the switch between light and dark mode is a Github only mechanism.

bric3 added 2 commits May 19, 2026 14:48
Use the <picture> element to switch between the standard and reversed
Datadog logos depending on GitHub's color scheme, and center the logo.
@datadog-official

This comment has been minimized.

@bric3 bric3 changed the title docs: switch README logo to SVG with light/dark mode support Switch README logo to SVG with light/dark mode support May 19, 2026
@bric3 bric3 added the tag: no release notes Changes to exclude from release notes label May 19, 2026
@bric3 bric3 marked this pull request as ready for review May 19, 2026 13:26
@bric3 bric3 requested a review from a team as a code owner May 19, 2026 13:26
@bric3 bric3 requested review from AlexeyKuznetsov-DD, amarziali and sarahchen6 and removed request for amarziali May 19, 2026 13:26
Copy link
Copy Markdown
Contributor

@sarahchen6 sarahchen6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful

@bric3 bric3 added this pull request to the merge queue May 19, 2026
@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 19, 2026

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 Bot commented May 19, 2026

View all feedbacks in Devflow UI.

2026-05-19 14:25:23 UTC ℹ️ Start processing command /merge


2026-05-19 14:25:31 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 1h (p90).


2026-05-19 16:26:12 UTCMergeQueue: The build pipeline has timeout

The merge request has been interrupted because the build 0 took longer than expected. The current limit for the base branch 'master' is 120 minutes.

@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 19, 2026
Copy link
Copy Markdown
Contributor

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

@bric3 bric3 added this pull request to the merge queue May 19, 2026
@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 19, 2026

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 Bot commented May 19, 2026

View all feedbacks in Devflow UI.

2026-05-19 17:04:35 UTC ℹ️ Start processing command /merge


2026-05-19 17:04:40 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 1h (p90).


2026-05-19 18:19:44 UTC ℹ️ MergeQueue: This merge request was merged

@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 19, 2026
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot merged commit c7ae94b into master May 19, 2026
579 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot deleted the bdu/logo branch May 19, 2026 18:19
@github-actions github-actions Bot added this to the 1.63.0 milestone May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tag: no release notes Changes to exclude from release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants