Repository navigation
Icon packs: published on the website now - #30
Merged
Merged
Conversation
The packs moved to the website repo (shiroxapp/shiroxapp.github.io), which serves them at https://shiroxapp.github.io/iconpacks/<pack>/pack.json and lists them on its /iconpacks/ page. The suggested packs point there, and Heroicons and Lucide (from xibrox#28) join Font Awesome and Iconoir. iconpacks/icons.json and icons.py update/check stay here, since they follow the app's code. The pack build and check commands moved with the packs (bun run iconpacks build/check in the website repo, which reads icons.json from this repo).
Settings no longer lists the packs. One Official Icon Packs row opens shiroxapp.github.io/iconpacks, which always has the current ones; tvOS shows the address, since it can't open web pages. The hardcoded pack list is gone. Packs installed from the old raw.githubusercontent.com address are moved to the same pack on the website when they load, together with the saved choice and old links pasted in, so they keep updating. A pack can set "multicolor": true in pack.json to keep its own colours instead of being tinted, for the Clay pack on the website.
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 icon packs now live in the website repo. They're published at
https://shiroxapp.github.io/iconpacks/<pack>/pack.jsonand listed on https://shiroxapp.github.io/iconpacks/ (shiroxapp/shiroxapp.github.io#4).IconPackStoreis gone. The new strings are translated into all 14 languages, and the old "Get Icon Packs" string is removed.raw.githubusercontent.com/xibrox/Shirox/main/iconpacks/...address are moved to the same pack on the website when the app loads them, in memory and in their savedpack.json. The selected pack and old links pasted into the field are moved too, so existing installs keep updating."multicolor": trueinpack.jsonto keep its own colours instead of being tinted. This covers SwiftUI images,IconView, and the UIKit player buttons. The website's Clay pack is the first one to use it.iconpacks/fontawesomeandiconpacks/iconoirare gone.iconpacks/icons.jsonandicons.py update/checkstay here, since they follow the app's code. The pack commands moved to the website repo asbun run iconpacks check/build, which read this repo'sicons.jsonfrom GitHub.CLAUDE.mdand theicons.pydocstring describe the new home and themulticolorflag.Merge order
Merge shiroxapp/shiroxapp.github.io#4 first, so the new URLs are live before a build links to them.
Checked
i18n.py check,icons.py checkand SwiftLint pass, and the iOS, macOS and tvOS schemes build. Not run on a device yet.