{"id":13656611,"url":"https://github.com/nju33/postcss-octicon","last_synced_at":"2026-04-18T01:34:17.598Z","repository":{"id":57328240,"uuid":"86888879","full_name":"nju33/postcss-octicon","owner":"nju33","description":"Postcss plugin for octicons","archived":false,"fork":false,"pushed_at":"2017-04-01T07:33:28.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T01:21:36.173Z","etag":null,"topics":["base64","icons","octicon","postcss","postcss-plugin","svg"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/postcss-octicon","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nju33.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-01T06:13:53.000Z","updated_at":"2020-02-15T23:36:44.000Z","dependencies_parsed_at":"2022-09-18T17:01:04.419Z","dependency_job_id":null,"html_url":"https://github.com/nju33/postcss-octicon","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nju33%2Fpostcss-octicon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nju33%2Fpostcss-octicon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nju33%2Fpostcss-octicon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nju33%2Fpostcss-octicon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nju33","download_url":"https://codeload.github.com/nju33/postcss-octicon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235204562,"owners_count":18952331,"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":["base64","icons","octicon","postcss","postcss-plugin","svg"],"created_at":"2024-08-02T05:00:25.461Z","updated_at":"2026-04-18T01:34:12.576Z","avatar_url":"https://github.com/nju33.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# PostCSS Octicon\n\n[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n\nPostcss plugin for [octicons](https://octicons.github.com/).\n\n## Install\n\n```bash\nyarn add -D postcss-octicon\n```\n\n```js\npostcss([octicon])\n```\n\n## Usage\n\n### Input\n\n```css\n.foo:before {\n  /*\n    octicon(iconName, fillColor);\n   */\n  content: octicon(alert, orange);\n}\n```\n\n### Output\n\n```css\n.foo:before {\n  content: url(data:image/svg+xml;base64,...);\n}\n```\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2017 nju33 \u003cnju33.ki@gmail.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnju33%2Fpostcss-octicon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnju33%2Fpostcss-octicon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnju33%2Fpostcss-octicon/lists"}