{"id":13805313,"url":"https://github.com/joshdavenport/tailwindcss-filter-order","last_synced_at":"2025-09-03T13:38:33.860Z","repository":{"id":154088985,"uuid":"627965449","full_name":"joshdavenport/tailwindcss-filter-order","owner":"joshdavenport","description":"A plugin to customise the order Tailwind applies CSS filters","archived":false,"fork":false,"pushed_at":"2023-06-20T00:44:24.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-26T14:39:54.059Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshdavenport.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}},"created_at":"2023-04-14T15:37:19.000Z","updated_at":"2024-08-19T11:04:47.000Z","dependencies_parsed_at":"2023-07-06T14:01:26.257Z","dependency_job_id":null,"html_url":"https://github.com/joshdavenport/tailwindcss-filter-order","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/joshdavenport/tailwindcss-filter-order","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdavenport%2Ftailwindcss-filter-order","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdavenport%2Ftailwindcss-filter-order/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdavenport%2Ftailwindcss-filter-order/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdavenport%2Ftailwindcss-filter-order/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshdavenport","download_url":"https://codeload.github.com/joshdavenport/tailwindcss-filter-order/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdavenport%2Ftailwindcss-filter-order/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272912426,"owners_count":25014074,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-08-04T01:00:59.904Z","updated_at":"2025-09-03T13:38:33.795Z","avatar_url":"https://github.com/joshdavenport.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":[],"readme":"# Tailwind CSS Filter Order\n\nA plugin to order your CSS filters applied by Tailwind CSS. Order of filters passed to the `filter` property \ncan drastically change the final result. Without use of this plugin filters are applied in the same order every\ntime because Tailwind has a hardcoded order.\n\n## Installation\n\n```\n# npm\nnpm install --save-dev @joshdavenport/tailwindcss-filter-order\n\n# yarn\nyarn add --dev @joshdavenport/tailwindcss-filter-order\n\n# pnpm\npnpm install --save-dev @joshdavenport/tailwindcss-filter-order\n```\n\n## Usage\n\n```js\n// tailwindcss.config.js\nmodule.exports = {\n  theme: {\n    extend: {\n      filterOrder: {\n        'my-order': 'sepia invert brightness',\n        'another-order': 'brightness sepia hue-rotate invert'\n      },\n    },\n  },\n  plugins: [\n    require('@joshdavenport/tailwindcss-filter-order')\n  ]\n}\n```\n\nThis generates the following new Tailwind utilities, for use in combination with the OOTB filter utilities\n([brightness](https://tailwindcss.com/docs/brightness), [contrast](https://tailwindcss.com/docs/contrast), [sepia](https://tailwindcss.com/docs/sepia), etc):\n\n```\nfilter-order-my-order\nfilter-order-another-order\n```\n\nAlternatively, you can use an arbitrary value passed to the utility:\n\n```\nfilter-order-[sepia_invert_brightness]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshdavenport%2Ftailwindcss-filter-order","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshdavenport%2Ftailwindcss-filter-order","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshdavenport%2Ftailwindcss-filter-order/lists"}