Skip to content

readme: add dark-mode banner for GitHub UI#379

Merged
mholt merged 1 commit into
caddyserver:masterfrom
mpge:readme-dark-mode-banner
Apr 23, 2026
Merged

readme: add dark-mode banner for GitHub UI#379
mholt merged 1 commit into
caddyserver:masterfrom
mpge:readme-dark-mode-banner

Conversation

@mpge
Copy link
Copy Markdown
Contributor

@mpge mpge commented Apr 22, 2026

Summary

  • Store the README header image under \docs/banner/\ (same asset as the existing user-images link) so the README can reference local paths.
  • Add a dark-theme variant and wrap the header in a <picture>\ element with \prefers-color-scheme: dark\ so GitHub dark mode shows a readable banner.

Notes

  • No Go code changes; documentation only.

Vendor the README header PNG under docs/banner and add a dark variant selected via prefers-color-scheme so the banner reads well in GitHub dark mode.

Signed-off-by: Matt Gros <3311227+mpge@users.noreply.github.com>
Made-with: Cursor
Copy link
Copy Markdown
Member

@mholt mholt left a comment

Choose a reason for hiding this comment

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

Ok cool, thanks for thinking of this!

@mholt mholt merged commit 3e3363f into caddyserver:master Apr 23, 2026
6 checks passed
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