OpenIcon: a set may carry several colour styles - #209
Merged
Merged
Conversation
Rules 12 and 13. HQ was the first colour style and it was drawn beside glossy 3D emoji masters, which reads as the decade it borrows from, so a colour style cannot be one look forever: the reference set now carries four, HQ plus three flat-material agentic styles. Rule 12 makes more than one a map rather than a second name: `styles` lists them, `style_info` describes each, and each icon carries a `styles` map whose entries are shaped exactly as rule 9's `hq` block. A set with an HQ style keeps writing the old top-level `hq` block and per-icon `hq` key as the same objects under their older name, so a reader written against the first HQ release keeps working. Rule 13 makes a style say what it is for. The choice between colour styles is a choice of surface: near-black bodies with lit accents are right on a dark terminal and illegible on paper, and only the set knows which is which. A family shares a prefix and the family name alone means its default member, so `agentic` means `agentic-matte`. The gallery follows the manifest instead of a simple/HQ switch: one tab per style the set has actually drawn, labelled and explained from `style_info`, and the detail pane shows every style an icon has. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The hosted copy of the reference set gets the new styles' 64 and 128px webp and the brand SVGs, plus the manifest that now lists all four colour styles, so the gallery's tabs have something behind them. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
ThreatCrush Security Scan25 finding(s) HIGH/CRITICAL: 3 | MEDIUM: 10 | LOW: 12
Snippets are redacted; ThreatCrush never prints matched credential material. |
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.
HQ was OpenIcon's first colour style, and it was drawn beside glossy 3D emoji masters — which is exactly what it reads as. Anthony's words: "very early 2000s", and "we need an hq set for the agentic era too, not bubbly but still hq".
So a colour style cannot be one look forever. The reference set now carries four, and the spec grows two rules to say how.
Rules 12 and 13
12. More than one colour style is a map, not a second name.
styleslists them,style_infodescribes each, and each icon carries astylesmap whose entries are shaped exactly as rule 9'shqblock. A set with an HQ style keeps writing the old top-levelhqblock and per-iconhqkey — the same objects under their older name — so a reader written against the first HQ release keeps working. Every rule about HQ holds for every colour style.13. A style says what it is for, and a reader may refuse it. The choice between colour styles is a choice of surface: near-black bodies with lit accents are right on a dark terminal and illegible on paper, and only the set knows which is which.
labelnames it,materialis one line on what it is made of. A family shares a prefix and the family name alone means its default member, soagenticmeansagentic-matte.The gallery
/openiconhad a hardcoded simple/HQ switch. It now builds its tabs from the manifest: one per style the set has actually drawn, labelled and explained fromstyle_info, with the material shown under the toolbar. The detail pane shows every style an icon has rather than just HQ, and the downloads follow.Also ships the hosted set copy for the three new styles: 64 and 128px webp plus brand SVGs, and the updated manifest. Every one of the 1,480 asset paths the gallery can request was checked to resolve on disk.
The styles
agentic-matteagentic-machinedagentic-emissive777 drawings, none failed. Set: profullstack/openicon@217994f. Builder: profullstack/cli-tools#95 (merged) and #97.
Note:
npx next buildfails in this branch on the pre-existing@profullstack/x402-gatewaymodule-not-found, which reproduces identically on master — unrelated to this change.tsc --noEmiton the app reports the same four pre-existing errors as master and none in the gallery.