{"id":13480276,"url":"https://github.com/benface/tailwindcss-gradients","last_synced_at":"2026-01-14T19:48:45.190Z","repository":{"id":32860304,"uuid":"144533217","full_name":"benface/tailwindcss-gradients","owner":"benface","description":"Tailwind CSS plugin to generate gradient background utilities","archived":true,"fork":false,"pushed_at":"2023-01-06T01:37:00.000Z","size":1715,"stargazers_count":302,"open_issues_count":19,"forks_count":11,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-10-11T09:20:01.750Z","etag":null,"topics":["tailwindcss","tailwindcss-plugin"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benface.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":"2018-08-13T05:26:43.000Z","updated_at":"2025-06-02T21:11:48.000Z","dependencies_parsed_at":"2023-01-14T22:27:22.105Z","dependency_job_id":null,"html_url":"https://github.com/benface/tailwindcss-gradients","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/benface/tailwindcss-gradients","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benface%2Ftailwindcss-gradients","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benface%2Ftailwindcss-gradients/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benface%2Ftailwindcss-gradients/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benface%2Ftailwindcss-gradients/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benface","download_url":"https://codeload.github.com/benface/tailwindcss-gradients/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benface%2Ftailwindcss-gradients/sbom","scorecard":{"id":232395,"data":{"date":"2025-08-11","repo":{"name":"github.com/benface/tailwindcss-gradients","commit":"b42184f4d27a56836d8c0e6635d369bced837f92"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: ISC License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"54 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5","Warn: Project is vulnerable to: GHSA-257v-vj4p-3w2h","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-2j2x-2gpw-g8fm","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-w7rc-rwvf-8q5r","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-px4h-xg32-q955","Warn: Project is vulnerable to: GHSA-3j8f-xvm3-ffx4","Warn: Project is vulnerable to: GHSA-4p35-cfcx-8653","Warn: Project is vulnerable to: GHSA-7f3x-x4pr-wqhj","Warn: Project is vulnerable to: GHSA-jpp7-7chh-cf67","Warn: Project is vulnerable to: GHSA-q6wq-5p59-983w","Warn: Project is vulnerable to: GHSA-j9fq-vwqv-2fm2","Warn: Project is vulnerable to: GHSA-pqw5-jmp5-px4v","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-566m-qj78-rww5","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-hwj9-h5mp-3pm3","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T05:04:45.340Z","repository_id":32860304,"created_at":"2025-08-17T05:04:45.341Z","updated_at":"2025-08-17T05:04:45.341Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28433028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["tailwindcss","tailwindcss-plugin"],"created_at":"2024-07-31T17:00:36.658Z","updated_at":"2026-01-14T19:48:45.167Z","avatar_url":"https://github.com/benface.png","language":"JavaScript","readme":"# [BLACK LIVES MATTER](https://blacklivesmatters.carrd.co)\n\n### Be aware. Be angry. Do better. Demand change. Show your support any way you can. Click on the link above to find protests, petitions, and other ways to help. DO NOT LET IT GO SILENT.\n\n# Gradients Plugin for Tailwind CSS\n\n## Requirements\n\nThis plugin requires Tailwind CSS 1.2 or later. If your project uses an older version of Tailwind, you should install the latest 2.x version of this plugin (`npm install tailwindcss-gradients@2.x`).\n\n## Installation\n\n```bash\nnpm install tailwindcss-gradients\n```\n\n## Usage\n\n### Simple\n\n```js\n{\n  theme: {\n    colors: {\n      'red': '#f00',\n      'blue': '#00f',\n    },\n    linearGradientColors: theme =\u003e theme('colors'),\n    radialGradientColors: theme =\u003e theme('colors'),\n    conicGradientColors: theme =\u003e theme('colors'),\n  },\n  plugins: [\n    require('tailwindcss-gradients'),\n  ],\n}\n```\n\n### Advanced\n\n```js\n// tailwind.config.js\nmodule.exports = {\n  theme: {\n    linearGradientDirections: { // defaults to these values\n      't': 'to top',\n      'tr': 'to top right',\n      'r': 'to right',\n      'br': 'to bottom right',\n      'b': 'to bottom',\n      'bl': 'to bottom left',\n      'l': 'to left',\n      'tl': 'to top left',\n    },\n    linearGradientColors: { // defaults to {}\n      'red': '#f00',\n      'red-blue': ['#f00', '#00f'],\n      'red-green-blue': ['#f00', '#0f0', '#00f'],\n      'black-white-with-stops': ['#000', '#000 45%', '#fff 55%', '#fff'],\n    },\n    radialGradientShapes: { // defaults to this value\n      'default': 'ellipse',\n    },\n    radialGradientSizes: { // defaults to this value\n      'default': 'closest-side',\n    },\n    radialGradientPositions: { // defaults to these values\n      'default': 'center',\n      't': 'top',\n      'tr': 'top right',\n      'r': 'right',\n      'br': 'bottom right',\n      'b': 'bottom',\n      'bl': 'bottom left',\n      'l': 'left',\n      'tl': 'top left',\n    },\n    radialGradientColors: { // defaults to {}\n      'red': '#f00',\n      'red-blue': ['#f00', '#00f'],\n      'red-green-blue': ['#f00', '#0f0', '#00f'],\n      'black-white-with-stops': ['#000', '#000 45%', '#fff 55%', '#fff'],\n    },\n    conicGradientStartingAngles: { // defaults to this value\n      'default': '0',\n    },\n    conicGradientPositions: { // defaults to these values\n      'default': 'center',\n      't': 'top',\n      'tr': 'top right',\n      'r': 'right',\n      'br': 'bottom right',\n      'b': 'bottom',\n      'bl': 'bottom left',\n      'l': 'left',\n      'tl': 'top left',\n    },\n    conicGradientColors: { // defaults to {}\n      'red': '#f00',\n      'red-blue': ['#f00', '#00f'],\n      'red-green-blue': ['#f00', '#0f0', '#00f'],\n      'checkerboard': ['white 90deg', 'black 90deg 180deg', 'white 180deg 270deg', 'black 270deg'],\n    },\n    repeatingLinearGradientDirections: theme =\u003e theme('linearGradientDirections'), // defaults to this value\n    repeatingLinearGradientColors: theme =\u003e theme('linearGradientColors'), // defaults to {}\n    repeatingLinearGradientLengths: { // defaults to {}\n      'sm': '25px',\n      'md': '50px',\n      'lg': '100px',\n    },\n    repeatingRadialGradientShapes: theme =\u003e theme('radialGradientShapes'), // defaults to this value\n    repeatingRadialGradientSizes: { // defaults to this value\n      'default': 'farthest-corner',\n    },\n    repeatingRadialGradientPositions: theme =\u003e theme('radialGradientPositions'), // defaults to this value\n    repeatingRadialGradientColors: theme =\u003e theme('radialGradientColors'), // defaults to {}\n    repeatingRadialGradientLengths: { // defaults to {}\n      'sm': '25px',\n      'md': '50px',\n      'lg': '100px',\n    },\n    repeatingConicGradientStartingAngles: theme =\u003e theme('conicGradientStartingAngles'), // defaults to this value\n    repeatingConicGradientPositions: theme =\u003e theme('conicGradientPositions'), // defaults to this value\n    repeatingConicGradientColors: { // defaults to {}\n      'red': '#f00',\n      'red-blue': ['#f00', '#00f'],\n      'red-green-blue': ['#f00', '#0f0', '#00f'],\n      'starburst': ['white 0 5deg', 'blue 5deg'],\n    },\n    repeatingConicGradientLengths: { // defaults to {}\n      'sm': '10deg',\n      'md': '20deg',\n      'lg': '40deg',\n    },\n  },\n  variants: { // all the following default to ['responsive']\n    backgroundImage: ['responsive'], // this is for the \"bg-none\" utility\n    linearGradients: ['responsive'],\n    radialGradients: ['responsive'],\n    conicGradients: ['responsive'],\n    repeatingLinearGradients: ['responsive'],\n    repeatingRadialGradients: ['responsive'],\n    repeatingConicGradients: ['responsive'],\n  },\n  plugins: [\n    require('tailwindcss-gradients'),\n  ],\n};\n```\n\nThis plugin generates the following utilities:\n\n```css\n.bg-none {\n  background-image: none;\n}\n\n/* configurable with the \"linearGradientDirections\" and \"linearGradientColors\" theme objects */\n.bg-gradient-[direction-key]-[color-key] {\n  background-image: linear-gradient([direction-value], [color-value-1], [color-value-2], [...]);\n}\n\n/* configurable with the \"radialGradientShapes\", \"radialGradientSizes\", \"radialGradientPositions\", and \"radialGradientColors\" theme objects */\n/* note that the \"default\" [shape-key], [size-key], and [position-key] are omitted from the class */\n.bg-radial-[shape-key]-[size-key]-[position-key]-[color-key] {\n  background-image: radial-gradient([shape-value] [size-value] at [position-value], [color-value-1], [color-value-2], [...]);\n}\n\n/* configurable with the \"conicGradientStartingAngles\", \"conicGradientPositions\", and \"conicGradientColors\" theme objects */\n/* note that the \"default\" [starting-angle-key] and [position-key] are omitted from the class */\n.bg-conic-[starting-angle-key]-[position-key]-[color-key] {\n  background-image: conic-gradient(from [starting-angle-value] at [position-value], [color-value-1], [color-value-2], [...]);\n}\n\n/* configurable with the \"repeatingLinearGradientDirections\", \"repeatingLinearGradientColors\", and \"repeatingLinearGradientLengths\" theme objects */\n.bg-gradient-[direction-key]-[color-key]-[length-key] {\n  background-image: repeating-linear-gradient([direction-value], [color-value-1], [color-value-2], [...] [length-value]);\n}\n\n/* configurable with the \"repeatingRadialGradientShapes\", \"repeatingRadialGradientSizes\", \"repeatingRadialGradientPositions\", \"repeatingRadialGradientColors\", and \"repeatingRadialGradientLengths\" theme objects */\n/* note that the \"default\" [shape-key], [size-key], and [position-key] are omitted from the class */\n.bg-radial-[shape-key]-[size-key]-[position-key]-[color-key]-[length-key] {\n  background-image: repeating-radial-gradient([shape-value] [size-value] at [position-value], [color-value-1], [color-value-2], [...] [length-value]);\n}\n\n/* configurable with the \"repeatingConicGradientStartingAngles\", \"repeatingConicGradientPositions\", \"repeatingConicGradientColors\", and \"repeatingConicGradientLengths\" theme objects */\n/* note that the \"default\" [starting-angle-key] and [position-key] are omitted from the class */\n.bg-conic-[starting-angle-key]-[position-key]-[color-key]-[length-key] {\n  background-image: repeating-conic-gradient(from [starting-angle-value] at [position-value], [color-value-1], [color-value-2], [...] [length-value]);\n}\n```\n","funding_links":[],"categories":["Plugins","JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenface%2Ftailwindcss-gradients","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenface%2Ftailwindcss-gradients","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenface%2Ftailwindcss-gradients/lists"}