{"id":13449764,"url":"https://github.com/benface/tailwindcss-filters","last_synced_at":"2025-03-22T22:33:51.345Z","repository":{"id":44844314,"uuid":"144528215","full_name":"benface/tailwindcss-filters","owner":"benface","description":"Tailwind CSS plugin to generate filter and backdrop filter utilities","archived":true,"fork":false,"pushed_at":"2022-02-22T12:21:07.000Z","size":1148,"stargazers_count":161,"open_issues_count":12,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-08-01T06:22:11.366Z","etag":null,"topics":["tailwindcss","tailwindcss-plugin"],"latest_commit_sha":null,"homepage":"","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-13T04:09:14.000Z","updated_at":"2024-06-13T04:45:30.000Z","dependencies_parsed_at":"2022-09-19T02:50:37.330Z","dependency_job_id":null,"html_url":"https://github.com/benface/tailwindcss-filters","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benface%2Ftailwindcss-filters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benface%2Ftailwindcss-filters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benface%2Ftailwindcss-filters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benface%2Ftailwindcss-filters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benface","download_url":"https://codeload.github.com/benface/tailwindcss-filters/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221840724,"owners_count":16889854,"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":["tailwindcss","tailwindcss-plugin"],"created_at":"2024-07-31T06:00:55.527Z","updated_at":"2024-10-28T14:31:54.635Z","avatar_url":"https://github.com/benface.png","language":"JavaScript","readme":"# ⛔️ DEPRECATED\n\nTailwind CSS 2.1+ has built-in `filter` and `backdrop-filter` utilities such as [`blur`](https://tailwindcss.com/docs/blur), [`grayscale`](https://tailwindcss.com/docs/grayscale), [`sepia`](https://tailwindcss.com/docs/sepia), etc. Please use them instead of this plugin. Thank you!\n\n# Filters 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-filters@2.x`).\n\n## Installation\n\n```bash\nnpm install tailwindcss-filters\n```\n\n## Usage\n\n```js\n// tailwind.config.js\nmodule.exports = {\n  theme: {\n    filter: { // defaults to {}\n      'none': 'none',\n      'grayscale': 'grayscale(1)',\n      'invert': 'invert(1)',\n      'sepia': 'sepia(1)',\n    },\n    backdropFilter: { // defaults to {}\n      'none': 'none',\n      'blur': 'blur(20px)',\n    },\n  },\n  variants: {\n    filter: ['responsive'], // defaults to ['responsive']\n    backdropFilter: ['responsive'], // defaults to ['responsive']\n  },\n  plugins: [\n    require('tailwindcss-filters'),\n  ],\n};\n```\n\nThis plugin generates the following utilities:\n\n```css\n/* configurable with the \"filter\" theme object */\n.filter-[key] {\n  filter: [value];\n}\n\n/* configurable with the \"backdropFilter\" theme object */\n.backdrop-[key] {\n  backdrop-filter: [value];\n}\n```\n","funding_links":[],"categories":["Plugins","JavaScript","Running the update"],"sub_categories":["By Popularity"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenface%2Ftailwindcss-filters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenface%2Ftailwindcss-filters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenface%2Ftailwindcss-filters/lists"}