{"id":13480155,"url":"https://github.com/aerni/tailwindcss-rfs","last_synced_at":"2025-07-22T14:04:42.084Z","repository":{"id":35008926,"uuid":"196034528","full_name":"aerni/tailwindcss-rfs","owner":"aerni","description":"This is a Tailwind CSS plugin to generate utility classes for RFS","archived":false,"fork":false,"pushed_at":"2024-09-14T09:03:41.000Z","size":2126,"stargazers_count":61,"open_issues_count":6,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-10T12:07:25.465Z","etag":null,"topics":["rfs","tailwind","tailwindcss","tailwindcss-plugin"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/aerni.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-09T15:19:54.000Z","updated_at":"2025-04-20T14:05:30.000Z","dependencies_parsed_at":"2024-01-07T10:18:23.534Z","dependency_job_id":"8f748d0c-8a25-4bd7-96d6-7c084174affc","html_url":"https://github.com/aerni/tailwindcss-rfs","commit_stats":{"total_commits":56,"total_committers":3,"mean_commits":"18.666666666666668","dds":0.1071428571428571,"last_synced_commit":"ebe5ed2baef31b111a02ba2da5ad9499f3fe615c"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/aerni/tailwindcss-rfs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerni%2Ftailwindcss-rfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerni%2Ftailwindcss-rfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerni%2Ftailwindcss-rfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerni%2Ftailwindcss-rfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aerni","download_url":"https://codeload.github.com/aerni/tailwindcss-rfs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerni%2Ftailwindcss-rfs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266507366,"owners_count":23940055,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["rfs","tailwind","tailwindcss","tailwindcss-plugin"],"created_at":"2024-07-31T17:00:35.246Z","updated_at":"2025-07-22T14:04:42.055Z","avatar_url":"https://github.com/aerni.png","language":"HTML","readme":"![GitHub release (latest by date)](https://img.shields.io/github/v/release/aerni/tailwindcss-rfs?style=flat-square)\n![npm](https://img.shields.io/npm/dt/tailwindcss-rfs?style=flat-square)\n![GitHub](https://img.shields.io/github/license/aerni/tailwindcss-rfs?style=flat-square)\n\n# RFS Plugin for Tailwind CSS\n\nThis plugin generates RFS variants of Tailwind utility classes.\n\n## Requirements\n\nThis plugin requires a working PostCSS setup of the [RFS PostCSS plugin](https://github.com/twbs/rfs). You can check out the `webpack.mix.js` file for a working setup using Laravel Mix.\n\n## Installation\n\n```\nnpm install tailwindcss-rfs\n```\n\nAdd `tailwindcss-rfs` to the plugins array of your Tailwind config:\n\n```js\nmodule.exports = {\n    plugins: [\n        require('tailwindcss-rfs')\n    ],\n}\n```\n\n## Usage\n\nSimply apply the `rfs` variant to any sizing utility. This will pass the utility's value to the `rfs()` function and output the processed value.\n\n**Template:**\n\n```html\n\u003cdiv class=\"rfs:p-24\"\u003e\n    \u003cp class=\"rfs:text-6xl\"\u003eThis text resizes magically!\u003c/p\u003e\n\u003c/div\u003e\n```\n\n**Output:**\n\n```css\n.rfs\\:text-6xl {\n  font-size: calc(1.5rem + 3vw);\n  line-height: 1;\n}\n\n.rfs\\:p-24 {\n  padding: calc(1.725rem + 5.7vw);\n}\n```\n\nYou can also stack the `rfs` variant with other variants like `hover`:\n\n```html\n\u003cdiv class=\"rfs:p-24 hover:rfs:p-20\"\u003e\n    \u003cp class=\"rfs:text-6xl hover:rfs:text-5xl\"\u003eThis text resizes magically!\u003c/p\u003e\n\u003c/div\u003e\n```\n","funding_links":[],"categories":["Plugins","HTML"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerni%2Ftailwindcss-rfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faerni%2Ftailwindcss-rfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerni%2Ftailwindcss-rfs/lists"}