{"id":27962319,"url":"https://github.com/zebradevs/zeta-icon-validator","last_synced_at":"2026-06-30T16:30:57.362Z","repository":{"id":271740823,"uuid":"914429346","full_name":"ZebraDevs/zeta-icon-validator","owner":"ZebraDevs","description":"A utility used to check the validity of icons before they are uploaded to the Zeta Icon Library","archived":false,"fork":false,"pushed_at":"2025-10-13T10:35:26.000Z","size":3366,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-16T12:10:54.624Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZebraDevs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-09T15:25:10.000Z","updated_at":"2025-10-13T10:35:29.000Z","dependencies_parsed_at":"2025-01-09T16:37:26.619Z","dependency_job_id":"292a4b21-f614-4ada-9893-0cdddac4788e","html_url":"https://github.com/ZebraDevs/zeta-icon-validator","commit_stats":null,"previous_names":["zebradevs/zeta-icon-validator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ZebraDevs/zeta-icon-validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZebraDevs%2Fzeta-icon-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZebraDevs%2Fzeta-icon-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZebraDevs%2Fzeta-icon-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZebraDevs%2Fzeta-icon-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZebraDevs","download_url":"https://codeload.github.com/ZebraDevs/zeta-icon-validator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZebraDevs%2Fzeta-icon-validator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34975668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-07T19:20:16.217Z","updated_at":"2026-06-30T16:30:57.343Z","avatar_url":"https://github.com/ZebraDevs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zeta-icon-validator\n\nA utility used to check the validity of icons before they are uploaded to the Zeta Icon Library.\n\n# Criteria\n\n## Name\n\nIcon names are considered invalid if they\n\n- Start with a number\n- Contain a non alpha-numeric character except for spaces, \\_, and $\n- Are a [Dart reserved word](https://dart.dev/language/keywords)\n\nIcons will be renamed if the name has been used already.\n\nThey are renamed by prepending its category name to it.\n\n## Properties\n\nIcons must have a `Style` variant property with `Round` and `Sharp` variants.\n\n## Size\n\nThe bound box of all icon variants must be 24x24px.\n\n# Usage\n\n## Validate Icon\n\nThis function is the main entry point for checking icon validity.\n\nIt accepts a Figma component set object and validates its name, size, and properties.\n\nIt returns a list of `ZetaIconError` which contains all the erros with the given icon.\n\nEach error has a severity and a message.\n\nIf an icon has been renamed, the error will have a `newName` property containing the icons new name.\n\n```ts\nvalidateIcon(icon: ComponentSetNode): ZetaIconError[]\n```\n\n\u003cdetails\u003e\n    \u003csummary\u003eZebra Repository Information\u003c/summary\u003e\n    \u003cul\u003e\n        \u003cli\u003e Zebra Business Unit : DMO - I\u0026D Team \u003c/li\u003e\n        \u003cli\u003e Zebra Manager : mikecoomber \u003c/li\u003e\n        \u003cli\u003e Zebra Repo Admin: mikecoomber \u003c/li\u003e\n        \u003cli\u003e Zebra Jira Project ID: N/A  \u003c/li\u003e\n        \u003cli\u003e Product: zeta-icon-name-checker, zeta-icons\u003c/li\u003e\n        \u003cli\u003e Topics: zeta-icons, icon library\u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebradevs%2Fzeta-icon-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzebradevs%2Fzeta-icon-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebradevs%2Fzeta-icon-validator/lists"}