Skip to content

Icon packs: host them on the website, add an /iconpacks/ page - #4

Merged
xibrox merged 4 commits into
shiroxapp:mainfrom
undeaDD:iconpacks
Nov 21, 2026
Merged

xibrox merged 4 commits into
shiroxapp:mainfrom
undeaDD:iconpacks

Conversation

@undeaDD

@undeaDD undeaDD commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

What

The Shirox icon packs move from the app repo to the website, and get a page of their own.

  • Packs: Font Awesome and Iconoir move over from xibrox/Shirox. Lucide and Heroicons come in from feat: Add Lucide icon pack and heroicons xibrox/Shirox#28, which this supersedes. All live in static/iconpacks/ and are served at https://shiroxapp.github.io/iconpacks/<pack>/pack.json. Each pack.json has a contributor field. The app ignores unknown keys.

  • Two just-for-fun packs:

    • Streamline Freehand (CC BY 4.0): hand-drawn, with some deliberately silly stand-ins (heart → kissing smiley, pause → phone on hold).
    • Clay (MIT, by Evergrow / with icons): cute 3D colour icons. It's the first pack with "multicolor": true, which the app supports from Icon packs: published on the website now xibrox/Shirox#30.

    Both are marked "featured": false, a site-only flag. That keeps them off the home page and lists them after the regular packs on /iconpacks/.

  • /iconpacks/ page:

    • One card per pack, with an animated icon preview (colour packs are shown in colour), the contributor, and the pack link with a copy button.
    • Install steps.
    • "Missing one?" with a request link to a new issue form, .github/ISSUE_TEMPLATE/icon-pack-request.yml.
    • A fold-out "Make your own" guide with a pack checker: drop a pack folder to see missing SVGs, pack.json and LICENSE problems, and a preview. It runs in the browser and nothing is uploaded.
  • Home page: a "Make it yours." section in the style of the stats cards. One card per regular pack and a "Build your own" card that opens the guide.

  • Tooling: bun run iconpacks check [pack] and bun run iconpacks build <pack> (scripts/iconpacks.ts) replace the old icons.py packs and icons.py build. They read iconpacks/icons.json from the app repo on GitHub. .github/workflows/iconpacks.yml runs the check on PRs that touch the packs, and weekly.

  • Smaller changes:

    • The background rays move into a shared PageRays component.
    • The Tailwind forms plugin uses the class strategy now, and the ::-webkit-scrollbar rule is gone, so Firefox no longer logs bad-selector warnings.
    • Biome skips the vendored pack files.

The page is /iconpacks/index.html (trailing slash) on purpose. A sibling iconpacks.html next to the iconpacks/ asset folder would 404 on GitHub Pages.

Goes with

xibrox/Shirox#30 points the app's settings at this page, moves packs installed from the old address over, and adds multicolor support. Merge this one first, so the new URLs exist before the app links to them.

Checked

bun run lint, bun run check, bun run build and bun run iconpacks check (all six packs) pass. Both pages were checked in a browser at desktop and phone width. The checker was tested with a deliberately broken copy of a pack.

…oir over from the app repo and add Lucide and Heroicons from xibrox/Shirox#28, all served from static/iconpacks/ at https://shiroxapp.github.io/iconpacks/<pack>/pack.json with a contributor field per pack. Add an /iconpacks/ page with animated pack previews, copyable pack links, install steps, a request link backed by a new GitHub issue form and a fold-out guide to making a pack, plus a stats-style teaser on the home page. Port the pack build and check commands to scripts/iconpacks.ts (bun run iconpacks) with a CI workflow, move the background rays into a shared PageRays component, put the forms plugin on its class strategy and drop the ::-webkit-scrollbar rule so Firefox stops logging bad-selector warnings, and keep Biome out of the vendored pack files.
…ad in the browser, reports missing SVGs, pack.json and LICENSE problems and previews the icons, also bun run iconpacks check <pack>), two just-for-fun packs, Streamline Freehand (hand-drawn, CC BY 4.0) and Clay (3D colour, MIT, the first "multicolor" pack), a site-only "featured": false flag that keeps those two off the home page and lists them last on /iconpacks/, and colour previews for multicolor packs on the cards and in the checker.
… cards, the author linking to the icon set's website and the license to the pack's LICENSE on GitHub.
… area it draws in (square, with a floor so small icons don't blow up) and bumps packVersion, and trim the Clay pack with it so its icons fill the same space as the other packs' (pack version 2). The guide mentions it as an optional step.
@xibrox
xibrox merged commit 2501e26 into shiroxapp:main Nov 21, 2026
1 check passed
@undeaDD
undeaDD deleted the iconpacks branch November 23, 2026 19:29
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