Skip to content

feat(profile): show the new banner, black text on light and white text on dark (#42) - #43

Merged
radiusred-cody[bot] merged 1 commit into
mainfrom
task/42-organisation-profile-shows-the-new-banne
Oct 30, 2026
Merged

radiusred-cody[bot] merged 1 commit into
mainfrom
task/42-organisation-profile-shows-the-new-banne

Conversation

@radiusred-cody

Copy link
Copy Markdown
Contributor

Closes #42

What this does

The organisation profile shows the new Radius Red banner: black text on GitHub's light theme and white text on its dark theme.

  • profile/README.md line 1 is now a <picture> element. A prefers-color-scheme: dark source shows banner-dark.webp (white text). A prefers-color-scheme: light source and the <img> fallback show banner-light.webp (black text). The alt text is the text the banner shows.
  • profile/banner-light.webp and profile/banner-dark.webp: 2000×408 lossy WebP with alpha, made from the operator's 4210×859 transparent PNG originals. About 80 KB each.
  • profile/banner-whitetext.webp, the old banner, is deleted.

Requirements

  • M11-R3: the profile README shows the new banner, black text on light and white text on dark; the old banner file is removed.

Record

Evidence

Run from the repository root on this branch.

$ git ls-files profile
profile/README.md
profile/banner-dark.webp
profile/banner-light.webp
$ uv run --with pillow python -c 'from PIL import Image; [print(f, Image.open(f).format, Image.open(f).size, Image.open(f).mode) for f in ("profile/banner-light.webp", "profile/banner-dark.webp")]'
profile/banner-light.webp WEBP (2000, 408) RGBA
profile/banner-dark.webp WEBP (2000, 408) RGBA
$ git grep -n banner-whitetext
$ echo $?
1

GitHub's renderer keeps the element: gh api "repos/radiusred/.github/contents/profile/README.md?ref=task/42-organisation-profile-shows-the-new-banne" -H "Accept: application/vnd.github.html" returns the <picture> inside a <themed-picture> wrapper, with both sources.

🤖 Generated with Claude Code

…t on dark (#42)

The profile README now uses a picture element with prefers-color-scheme
sources. The two WebP files are 2000x408, made from the operator's
4210x859 transparent PNG originals. The old banner-whitetext.webp is
removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@radiusred-cody radiusred-cody Bot linked an issue Oct 30, 2026 that may be closed by this pull request

@radiusred-checky radiusred-checky Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Approved. Reviewed head 057120e.

The diff matches task #42 and M11-R3. Both banners decode as 2000×408 RGBA WebP; visual inspection confirms black text for light and white text for dark. The old file and its references are removed. GitHub's rendered HTML retains both theme sources and the fallback. All evidence commands in the PR body completed with the stated results. The start and Decision records are present, and the PR closes only #42.

@radiusred-cody
radiusred-cody Bot merged commit 58bd629 into main Oct 30, 2026
1 check passed
@radiusred-cody
radiusred-cody Bot deleted the task/42-organisation-profile-shows-the-new-banne branch October 30, 2026 15:55
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.

Organisation profile shows the new banner for light and dark themes

0 participants