Skip to content

feat: add GitHub Repo, Submit Theme, and icon buttons to gallery header#99

Merged
pfeerick merged 1 commit intomainfrom
feat/gallery-header-links
Apr 23, 2026
Merged

feat: add GitHub Repo, Submit Theme, and icon buttons to gallery header#99
pfeerick merged 1 commit intomainfrom
feat/gallery-header-links

Conversation

@pfeerick
Copy link
Copy Markdown
Member

@pfeerick pfeerick commented Apr 23, 2026

Summary

  • Adds GitHub Repo (black) and Submit Theme (blue) buttons to the gallery header, grouped with the existing Download All Themes button on the right side
  • Each button has an inline SVG icon (GitHub mark, upload arrow, download arrow) so they are distinguishable without relying on colour alone — improving accessibility for colorblind users
  • Introduces --blue / --blue-hover CSS variables for both dark and light themes

Test plan

  • Run uv run tools/generate_site.py and open site/index.html in a browser
  • Confirm three buttons appear right-aligned in the header: GitHub Repo (black), Submit Theme (blue), Download All Themes (green)
  • Confirm GitHub Repo links to https://github.com/EdgeTX/themes (opens in new tab)
  • Confirm Submit Theme links to the CONTRIBUTING.md #submitting-your-theme anchor (opens in new tab)
  • Verify icons render correctly in both dark and light mode
  • Check layout wraps cleanly on narrow viewports

🤖 Generated with Claude Code

Adds GitHub Repo (black) and Submit Theme (blue) buttons alongside the
existing Download All Themes button, each with inline SVG icons for
colorblind-accessible identification without relying on colour alone.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pfeerick pfeerick merged commit 79931a5 into main Apr 23, 2026
@pfeerick pfeerick deleted the feat/gallery-header-links branch April 23, 2026 05:39
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