Repository navigation
Icon packs: host them on the website, add an /iconpacks/ page - #4
Merged
Merged
Conversation
This was referenced Nov 7, 2026
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 instatic/iconpacks/and are served athttps://shiroxapp.github.io/iconpacks/<pack>/pack.json. Eachpack.jsonhas acontributorfield. The app ignores unknown keys.Two just-for-fun packs:
"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:.github/ISSUE_TEMPLATE/icon-pack-request.yml.pack.jsonandLICENSEproblems, 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]andbun run iconpacks build <pack>(scripts/iconpacks.ts) replace the oldicons.py packsandicons.py build. They readiconpacks/icons.jsonfrom the app repo on GitHub..github/workflows/iconpacks.ymlruns the check on PRs that touch the packs, and weekly.Smaller changes:
PageRayscomponent.::-webkit-scrollbarrule is gone, so Firefox no longer logs bad-selector warnings.The page is
/iconpacks/index.html(trailing slash) on purpose. A siblingiconpacks.htmlnext to theiconpacks/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
multicolorsupport. Merge this one first, so the new URLs exist before the app links to them.Checked
bun run lint,bun run check,bun run buildandbun 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.