The top-right header link to the Gitea repo used Starlight's generic code-branch icon. Wires up starlight-plugin-icons + UnoCSS (Iconify) so it can render pajamas:gitea instead.
Adds a custom SocialIcons.astro override that swaps in the real Gitea logo for the Gitea social link, falling back to Starlight's default icon set for anything else.
Enables the plugin's sidebar (sidebar: true) and codeblock (codeblock: true) icon support in astro.config.mjs for future use — not applied to any content yet.
Documents the new setup in docs/site/README.md.
Minifies the header logo SVG, flagged during dev-server auditing: 56KB of unminified, high-precision path data with no embedded raster, down to ~8.9KB (SVGO, then a further manual pass) with no visual difference.
Manual Verification Checklist
cd docs/site && npm install && npm run dev, confirm the header shows the Gitea logo (not the generic branch icon)
Hover the icon — it should shift to the accent hover color like the rest of the header controls
Check both light and dark themes
npm run build completes cleanly with no broken links
Sidebar/codeblocks render unchanged (no icons expected yet, just infrastructure)
Header logo still renders correctly at normal size (no visual regression from the SVG minification)
## Summary
- The top-right header link to the Gitea repo used Starlight's generic `code-branch` icon. Wires up [`starlight-plugin-icons`](https://docs.rettend.me/starlight-plugin-icons) + UnoCSS (Iconify) so it can render `pajamas:gitea` instead.
- Adds a custom `SocialIcons.astro` override that swaps in the real Gitea logo for the `Gitea` social link, falling back to Starlight's default icon set for anything else.
- Enables the plugin's sidebar (`sidebar: true`) and codeblock (`codeblock: true`) icon support in `astro.config.mjs` for future use — not applied to any content yet.
- Documents the new setup in `docs/site/README.md`.
- Minifies the header logo SVG, flagged during dev-server auditing: 56KB of unminified, high-precision path data with no embedded raster, down to ~8.9KB (SVGO, then a further manual pass) with no visual difference.
## Manual Verification Checklist
- [x] `cd docs/site && npm install && npm run dev`, confirm the header shows the Gitea logo (not the generic branch icon)
- [x] Hover the icon — it should shift to the accent hover color like the rest of the header controls
- [x] Check both light and dark themes
- [x] `npm run build` completes cleanly with no broken links
- [x] Sidebar/codeblocks render unchanged (no icons expected yet, just infrastructure)
- [x] Header logo still renders correctly at normal size (no visual regression from the SVG minification)
The header social link used Starlight's generic `code-branch` icon.
Wires up starlight-plugin-icons + UnoCSS (Iconify) and overrides
SocialIcons to render `pajamas:gitea` for the Gitea link instead, while
falling back to Starlight's default icon set for anything else. Sidebar
and codeblock icon support are enabled but unused for now.
logo.svg was 56KB of unminified, high-precision path data with no
embedded raster. Running it through SVGO (default preset, multipass)
cuts it to ~20KB with no visual difference.
perf(docs-site): further minify header logo SVG. Cut to ~8.9KB with no visual difference.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
code-branchicon. Wires upstarlight-plugin-icons+ UnoCSS (Iconify) so it can renderpajamas:giteainstead.SocialIcons.astrooverride that swaps in the real Gitea logo for theGiteasocial link, falling back to Starlight's default icon set for anything else.sidebar: true) and codeblock (codeblock: true) icon support inastro.config.mjsfor future use — not applied to any content yet.docs/site/README.md.Manual Verification Checklist
cd docs/site && npm install && npm run dev, confirm the header shows the Gitea logo (not the generic branch icon)npm run buildcompletes cleanly with no broken links69cadb41fctof865ad766d