{"id":13630120,"url":"https://github.com/svelte-add/tailwindcss","last_synced_at":"2025-10-01T06:32:13.452Z","repository":{"id":41090015,"uuid":"310954876","full_name":"svelte-add/tailwindcss","owner":"svelte-add","description":"⚠️ MOVED: https://github.com/svelte-add/svelte-add/ ⚠️ Add Tailwind CSS to your Svelte project","archived":true,"fork":false,"pushed_at":"2023-12-15T17:07:37.000Z","size":95,"stargazers_count":725,"open_issues_count":0,"forks_count":28,"subscribers_count":18,"default_branch":"main","last_synced_at":"2024-09-28T09:22:12.480Z","etag":null,"topics":["postcss","purgecss","svelte","svelte-add","svelte-kit","sveltekit","tailwindcss","vite"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/svelte-add.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}},"created_at":"2020-11-08T00:06:42.000Z","updated_at":"2024-09-25T00:20:46.000Z","dependencies_parsed_at":"2023-12-15T18:26:23.471Z","dependency_job_id":"67d98441-89ae-4878-b4a3-9131aea43a8b","html_url":"https://github.com/svelte-add/tailwindcss","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelte-add%2Ftailwindcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelte-add%2Ftailwindcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelte-add%2Ftailwindcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelte-add%2Ftailwindcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svelte-add","download_url":"https://codeload.github.com/svelte-add/tailwindcss/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234837153,"owners_count":18894548,"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":["postcss","purgecss","svelte","svelte-add","svelte-kit","sveltekit","tailwindcss","vite"],"created_at":"2024-08-01T22:01:30.765Z","updated_at":"2025-10-01T06:32:08.201Z","avatar_url":"https://github.com/svelte-add.png","language":"JavaScript","readme":"\u003ch1 align=\"center\"\u003e💨 Add Tailwind CSS to Svelte\u003c/h1\u003e\n\n[![GitHub issues by-label](https://img.shields.io/github/issues/svelte-add/svelte-add/confirmed%20bug?color=%23DC2626)](https://github.com/svelte-add/svelte-add/issues?q=is%3Aopen+is%3Aissue+label%3A%22confirmed+bug%22)\n[![GitHub issues by-label](https://img.shields.io/github/issues/svelte-add/svelte-add/support%20question?color=%23FACC15)](https://github.com/svelte-add/svelte-add/issues?q=is%3Aopen+is%3Aissue+label%3A%22support+question%22)\n\nThis is an adder for `svelte-add`; you should [read its `README`](https://github.com/svelte-add/svelte-add#readme) before continuing here.\n\n## ➕ Adding Tailwind CSS\n\nThis adder's codename is `tailwindcss`, and can be used like so:\n\n```sh\nnpx svelte-add@latest tailwindcss\n```\n\n### 🏞 Supported environments\n\nThis adder supports SvelteKit and Vite-powered Svelte apps (all the environments `svelte-add` currently supports).\n\n### ⚙️ Options\n\n- `forms` (default `false`): whether or not to install and set up the [Tailwind CSS Forms plugin](https://github.com/tailwindlabs/tailwindcss-forms).\n\n- `typography` (default `false`): whether or not to install and set up the [Tailwind CSS Typography plugin](https://github.com/tailwindlabs/tailwindcss-typography).\n\n- `daisyui` (default `false`): whether or not to install and set up [daisyUI](https://github.com/saadeghi/daisyui) as a Tailwind plugin.\n\n```sh\nnpx svelte-add@latest tailwindcss --tailwindcss-forms --tailwindcss-typography --tailwindcss-daisyui\n```\n\n## 🛠 Using Tailwind CSS\n\nAfter the adder runs,\n\n- You can use Tailwind utility classes like `bg-blue-700` in the markup (components, routes, `app.html`).\n\n- You can use [Tailwind directives like `@apply` and `@screen` or use the `theme` function](https://tailwindcss.com/docs/functions-and-directives) in Svelte `style lang=\"postcss\"` blocks or the `src/app.pcss` file.\n\n- You can [configure Tailwind](https://tailwindcss.com/docs/configuration) in the `tailwind.config.cjs` file.\n\n- Your Tailwind CSS will be purged for production builds.\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvelte-add%2Ftailwindcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvelte-add%2Ftailwindcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvelte-add%2Ftailwindcss/lists"}