{"id":18291098,"url":"https://github.com/eioluseyi/tailwind-fade","last_synced_at":"2025-04-05T10:30:56.331Z","repository":{"id":256086970,"uuid":"854255429","full_name":"eioluseyi/tailwind-fade","owner":"eioluseyi","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-24T14:39:55.000Z","size":24,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T02:51:18.109Z","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/eioluseyi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2024-09-08T19:26:25.000Z","updated_at":"2024-12-16T16:59:36.000Z","dependencies_parsed_at":"2024-09-08T23:29:42.957Z","dependency_job_id":null,"html_url":"https://github.com/eioluseyi/tailwind-fade","commit_stats":null,"previous_names":["eioluseyi/tailwind-fade"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eioluseyi%2Ftailwind-fade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eioluseyi%2Ftailwind-fade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eioluseyi%2Ftailwind-fade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eioluseyi%2Ftailwind-fade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eioluseyi","download_url":"https://codeload.github.com/eioluseyi/tailwind-fade/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247324491,"owners_count":20920655,"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-05T14:13:13.470Z","updated_at":"2025-04-05T10:30:56.297Z","avatar_url":"https://github.com/eioluseyi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tailwind CSS Fade Plugin\n\nAn open sourced plugin for Tailwind CSS that adds utilities for creating fading effects on elements without using an overlay.\n\n## Installation\n\n```bash\nnpm install @eioluseyi/tailwind-fade\n```\n\n```bash\nyarn install @eioluseyi/tailwind-fade\n```\n\n## Usage\n\nAdd the plugin to your `tailwind.config.js` file:\n\n```javascript\nmodule.exports = {\n  // ...\n  plugins: [\n    require(\"@eioluseyi/tailwind-fade\"),\n    // ...\n  ],\n};\n```\n\nThen use the utilities in your HTML:\n\n```html\n\u003cdiv class=\"fade-x-4 bg-blue-500 p-4 text-white\"\u003e\n  \u003cp\u003eThis text fades on both sides\u003c/p\u003e\n\u003c/div\u003e\n```\n\nThis will create a div with a blue background that fades on both sides. The `fade-x-4` class applies a horizontal fade with a strength of 4 (which is typically `16px`/`1rem`).\n\n#### Fade Directions\n\nThe following directions are available:\n\n- `fade-x-`\n- `fade-y-`\n- `fade-t-`\n- `fade-b-`\n- `fade-l-`\n- `fade-r-`\n\n## Want to know the story behind this plugin?\n\nRead my journey of creating the `tailwind-fade` plugin [here ↗](https://dev.to/eioluseyi/creating-a-tailwind-css-fade-plugin-my-journey-20ij).\n\n## Contributing\n\nContributions are highly welcome! Please see the [Contributing Guide](https://github.com/eioluseyi/tailwind-fade#contributing) for more details on how you can contribute to this project.\n\n![NPM Version](https://img.shields.io/npm/v/@eioluseyi/tailwind-fade)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/eioluseyi/tailwind-fade/issues)\n\n## Keywords\n\ntailwindcss, tailwind, css, plugin, fade, fading, mask, mask-image, gradient, linear-gradient, utility, utilities, classes, styling, ui, ux, web-development, frontend, customization, effect, visual-effect, opacity, transparency, vignette, edge-fading, content-fading, text-fade, image-fade, background-fade, element-fade, fade-in, fade-out, horizontal-fade, vertical-fade, directional-fade, custom-fade, dynamic-fade, adaptive-fade, responsive-fade, css-mask, webkit-mask, mask-property, css-effects, visual-design, web-design, css-utility, tailwind-extension, tailwind-addon, utility-first, atomic-css, composable, modular, flexible, customizable, configurable, npm-package\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feioluseyi%2Ftailwind-fade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feioluseyi%2Ftailwind-fade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feioluseyi%2Ftailwind-fade/lists"}