{"id":19653040,"url":"https://github.com/csstools/postcss-conic-gradient","last_synced_at":"2025-04-28T17:31:14.738Z","repository":{"id":34094735,"uuid":"37919694","full_name":"csstools/postcss-conic-gradient","owner":"csstools","description":"Use conic gradients in your CSS files","archived":true,"fork":false,"pushed_at":"2019-03-31T22:59:35.000Z","size":1223,"stargazers_count":61,"open_issues_count":7,"forks_count":16,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-21T22:01:47.573Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/csstools.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-06-23T13:12:03.000Z","updated_at":"2025-04-14T09:36:01.000Z","dependencies_parsed_at":"2022-07-29T19:39:58.504Z","dependency_job_id":null,"html_url":"https://github.com/csstools/postcss-conic-gradient","commit_stats":null,"previous_names":["jonathantneal/postcss-conic-gradient"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csstools%2Fpostcss-conic-gradient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csstools%2Fpostcss-conic-gradient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csstools%2Fpostcss-conic-gradient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csstools%2Fpostcss-conic-gradient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csstools","download_url":"https://codeload.github.com/csstools/postcss-conic-gradient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250439371,"owners_count":21430839,"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":[],"created_at":"2024-11-11T15:12:59.554Z","updated_at":"2025-04-28T17:31:14.719Z","avatar_url":"https://github.com/csstools.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PostCSS Conic Gradient [![Build Status][ci-img]][ci]\n\n\u003cimg align=\"right\" width=\"135\" height=\"95\" src=\"http://postcss.github.io/postcss/logo-leftp.png\" title=\"Philosopher’s stone, logo of PostCSS\"\u003e\n\n[PostCSS Conic Gradient] is a [PostCSS] plugin that allows you to use [conic gradients] in your CSS files. It is based on [Lea Verou]’s excellent [conic-gradient polyfill].\n\nConic gradients are awesome, but browsers haven’t realized yet. This polyfill lets you experiment with them now. If you like them, [ask browser vendors to implement them]!\n\n```css\n/* before */\n\n.hue-wheel {\n\tbackground-image: conic-gradient(red, yellow, lime, aqua, blue, magenta, red);\n}\n\n/* after */\n\n.hue-wheel {\n\tbackground-image: url(\"data:image/png;base64,...\");\n\tbackground-image: conic-gradient(red, yellow, lime, aqua, blue, magenta, red);\n}\n```\n\n## Usage\n\nYou just need to follow these two steps to use [PostCSS Conic Gradient]:\n\n1. Add [PostCSS] to your build tool.\n2. Add [PostCSS Conic Gradient] as a PostCSS process.\n\n```sh\nnpm install postcss-conic-gradient --save-dev\n```\n\n### Node\n\n```js\npostcss([ require('postcss-conic-gradient')() ])\n```\n\n### Grunt\n\nInstall [Grunt PostCSS]:\n\n```shell\nnpm install grunt-postcss --save-dev\n```\n\nEnable [PostCSS Conic Gradient] within your Gruntfile:\n\n```js\ngrunt.loadNpmTasks('grunt-postcss');\n\ngrunt.initConfig({\n\tpostcss: {\n\t\toptions: {\n\t\t\tprocessors: [\n\t\t\t\trequire('postcss-conic-gradient')()\n\t\t\t]\n\t\t},\n\t\tdist: {\n\t\t\tsrc: 'css/*.css'\n\t\t}\n\t}\n});\n```\n\n[ask browser vendors to implement them]: http://leaverou.github.io/conic-gradient/#ask\n[ci]: https://travis-ci.org/jonathantneal/postcss-conic-gradient\n[ci-img]: https://travis-ci.org/jonathantneal/postcss-conic-gradient.svg\n[Cairo]: https://github.com/Automattic/node-canvas/wiki/_pages\n[conic-gradient polyfill]: http://leaverou.github.io/conic-gradient/\n[conic gradients]: http://w3.org/TR/css4-images/#conic-gradients\n[Grunt PostCSS]: https://github.com/nDmitry/grunt-postcss\n[Lea Verou]: http://lea.verou.me/\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Conic Gradient]: https://github.com/jonathantneal/postcss-conic-gradient\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsstools%2Fpostcss-conic-gradient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsstools%2Fpostcss-conic-gradient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsstools%2Fpostcss-conic-gradient/lists"}