{"id":22983543,"url":"https://github.com/canmengfly/canico","last_synced_at":"2025-04-02T10:40:48.742Z","repository":{"id":127743407,"uuid":"156373398","full_name":"canmengfly/canico","owner":"canmengfly","description":"Can ICO一套免费开源图标库，完美支持WEB与小程序。","archived":false,"fork":false,"pushed_at":"2019-09-10T01:41:52.000Z","size":174,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T01:42:18.530Z","etag":null,"topics":["ico","icons"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/canmengfly.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}},"created_at":"2018-11-06T11:29:41.000Z","updated_at":"2024-12-27T13:44:02.000Z","dependencies_parsed_at":"2023-08-17T09:30:42.263Z","dependency_job_id":null,"html_url":"https://github.com/canmengfly/canico","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canmengfly%2Fcanico","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canmengfly%2Fcanico/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canmengfly%2Fcanico/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canmengfly%2Fcanico/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/canmengfly","download_url":"https://codeload.github.com/canmengfly/canico/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246802051,"owners_count":20836362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ico","icons"],"created_at":"2024-12-15T02:46:15.347Z","updated_at":"2025-04-02T10:40:48.734Z","avatar_url":"https://github.com/canmengfly.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://ask.qcloudimg.com/draft/1000046/ytga2y857g.png)\n\n\n\n### Can ICO一套免费开源图标库（WEB版）\n\n1. 将整个Can ICO图标库的目录复制到你的项目中\n2. 在 `\u003chead\u003e` 标签中添加 `\u003clink rel=\"stylesheet\" href=\"canico.css\"\u003e`\n3. 在需要图标的地方添加对应 `class` 的 `\u003ci\u003e` 即可，已logo图标为例：`\u003ci class=\"cd-candesign\"\u003e\u003c/i\u003e`\n\n\n\n本地运行demo或者点击下面官网即可查看更多图例。\n[canico.canmeng.net](https://canico.canmeng.net/)\n\n\n### Can ICO一套免费开源图标库（For Mini Program）\n\n#### 使用指南：\n\n1.将`canico（for mini program）`目录下的“canico”  上传到任意小程序目录\n\n2.在 app.json 或 index.json 中引入组件\n\n```json\n\"usingComponents\": {\n  \"can-ico\": \"canico/icon/index\"\n}\n```\n\n#### 代码演示：\n\n设置`name`属性为对应的图标名称即可，所有可用的图标名称见后续官网或html版demo\n\n```html\n\u003ccan-ico name=\"candesign\" /\u003e\n```\n\n#### API参数：\n\n| 数           | 说明                       | 类型     | 默认值    |\n| ------------ | -------------------------- | -------- | --------- |\n| name         | 图标名称                   | `String` | -         |\n| color        | 图标颜色                   | `String` | `inherit` |\n| size         | 图标大小，如 `20px`，`2em` | `String` | `inherit` |\n| custom-style | 自定义样式                 | `String` | -         |\n\n如：\n\n```html\n\u003ccan-ico name=\"candesign\"  color=\"red\" size=\"5em\" /\u003e  \n```\n\n实例表示，插入图标 `“candesign”` 并且颜色为红色，大小为5em。\n\n#### 加速CDN地址说明：\n\n如果直接调用icon文件，所使用的URL即：\n\n```css\nsrc:url(https://d.canmeng.net/css/fonts/Can-ico.ttf)\n```\n\n此地址可修改为自己的CDN加速地址，当然也可拆封即用。\n\n修改路径为：\n\n```html\n/canico/icon/index.wxss  \n```\n\n本人并非专职设计，ICO有自己画有搜集，遵循：\n\n\n\n### 开源协议\n\n- Can ICO图标库中的字体遵循 [SIL OFL 1.1](http://scripts.sil.org/OFL) 协议\n- Can ICO图标库中的 css 遵循 [MIT](https://opensource.org/licenses/mit-license.html) 协议\n- Can ICO图标库中的文档遵循 [CC BY 3.0](http://creativecommons.org/licenses/by/3.0/) 协议\n- \n\n### 更新日志：\n\n2018.11.6：初始版本 图标数 327个\n\n2018.11.13：新增 xcx，xcx-i 图标ICO\n\n2018.11.27： 上线微信小程序版ICO\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcanmengfly%2Fcanico","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcanmengfly%2Fcanico","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcanmengfly%2Fcanico/lists"}