{"id":14962242,"url":"https://github.com/hiimnit/tailwindcss-dotted-background","last_synced_at":"2025-10-24T22:32:12.076Z","repository":{"id":57728080,"uuid":"517354257","full_name":"hiimnit/tailwindcss-dotted-background","owner":"hiimnit","description":"A simple Tailwind CSS plugin that adds dotted backgrounds with all for all configured colors and spacing.","archived":false,"fork":false,"pushed_at":"2023-06-03T21:52:54.000Z","size":12,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-31T09:58:20.691Z","etag":null,"topics":["tailwind","tailwind-css","tailwindcss","tailwindcss-extension","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hiimnit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-24T14:58:45.000Z","updated_at":"2025-01-08T10:26:05.000Z","dependencies_parsed_at":"2024-09-17T14:07:35.002Z","dependency_job_id":"060955c0-942d-4071-975e-e5d47b4d79da","html_url":"https://github.com/hiimnit/tailwindcss-dotted-background","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"07d08efe8ee5f51add6d00085cb9875e2afb3d67"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hiimnit/tailwindcss-dotted-background","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiimnit%2Ftailwindcss-dotted-background","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiimnit%2Ftailwindcss-dotted-background/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiimnit%2Ftailwindcss-dotted-background/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiimnit%2Ftailwindcss-dotted-background/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiimnit","download_url":"https://codeload.github.com/hiimnit/tailwindcss-dotted-background/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiimnit%2Ftailwindcss-dotted-background/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280878369,"owners_count":26406641,"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-10-24T02:00:06.418Z","response_time":73,"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":["tailwind","tailwind-css","tailwindcss","tailwindcss-extension","tailwindcss-plugin"],"created_at":"2024-09-24T13:29:45.998Z","updated_at":"2025-10-24T22:32:11.785Z","avatar_url":"https://github.com/hiimnit.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Tailwind CSS dotted background plugin\n\nA simple Tailwind CSS plugin that adds dotted backgrounds with all for all configured colors and spacing.\n\n## Installing\n\nFirst install the package:\n\n```sh\nnpm install -D tailwindcss-dotted-background\n```\n\nor\n\n```sh\nyarn add tailwindcss-dotted-background -D\n```\n\nThen require the installed plugin directly in your `tailwind.config.js`:\n\n```js\n// tailwind.config.js\nmodule.exports = {\n  theme: {\n    // ...\n  },\n  plugins: [\n    require('tailwindcss-dotted-background'),\n    // ...\n  ],\n}\n```\n\n## Usage\n\nCombine the `bg-dotted-spacing-{spacing}` and `bg-dotted-{colors}` classes to specify the spacing and the color of the dots.\n\n```html\n\u003cdiv class=\"bg-dotted-spacing-4 bg-dotted-gray-200\" /\u003e\n\n\u003cdiv class=\"bg-dotted-spacing-[9px] bg-dotted-red-300 hover:bg-dotted-spacing-2\" /\u003e\n```\n\nThe default radius of the dots is `1px`. Use `bg-dotted-radius-{spacing}` to change the size.\n\n```html\n\u003cdiv class=\"bg-dotted-spacing-6 bg-dotted-red-700 bg-dotted-radius-1\" /\u003e\n```\n\n`bg-dotted-spacing-{spacing}` changes both the width and height at once. Use `bg-dotted-spacing-x-{spacing}` and `bg-dotted-spacing-y-{spacing}` to specify different height and width.\n\n```html\n\u003cdiv class=\"bg-dotted-spacing-x-6 bg-dotted-spacing-y-3 bg-dotted-cyan-900\" /\u003e\n```\n\n## Compatibility\n\nDots are created using `background-image` and `background-size` so these utilities are incompatible with any classes using these properties.\n\n[Arbitrary values](https://tailwindcss.com/docs/adding-custom-styles#using-arbitrary-values) are supported for both `bg-dotted-spacing-{spacing}` and `bg-dotted-{colors}` classes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiimnit%2Ftailwindcss-dotted-background","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiimnit%2Ftailwindcss-dotted-background","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiimnit%2Ftailwindcss-dotted-background/lists"}