{"id":15684430,"url":"https://github.com/log1x/tailwindcss-border-styles","last_synced_at":"2026-03-10T22:36:34.057Z","repository":{"id":65514191,"uuid":"204663387","full_name":"Log1x/tailwindcss-border-styles","owner":"Log1x","description":"Tailwind CSS plugin to generate individual border side style classes.","archived":false,"fork":false,"pushed_at":"2019-09-17T06:39:44.000Z","size":68,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T16:09:56.593Z","etag":null,"topics":["tailwindcss","tailwindcss-plugin"],"latest_commit_sha":null,"homepage":"https://github.com/Log1x/tailwindcss-border-styles","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/Log1x.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-27T09:03:59.000Z","updated_at":"2025-03-03T05:59:44.000Z","dependencies_parsed_at":"2023-01-26T20:55:22.129Z","dependency_job_id":null,"html_url":"https://github.com/Log1x/tailwindcss-border-styles","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Ftailwindcss-border-styles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Ftailwindcss-border-styles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Ftailwindcss-border-styles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Ftailwindcss-border-styles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Log1x","download_url":"https://codeload.github.com/Log1x/tailwindcss-border-styles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252926316,"owners_count":21826291,"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":["tailwindcss","tailwindcss-plugin"],"created_at":"2024-10-03T17:16:34.774Z","updated_at":"2026-03-10T22:36:34.019Z","avatar_url":"https://github.com/Log1x.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tailwind CSS Border Styles Plugin\n\n![Package Version](https://img.shields.io/npm/v/tailwindcss-border-styles?style=flat-square)\n![Package Total Downloads](https://img.shields.io/npm/dt/tailwindcss-border-styles?style=flat-square)\n\n## Requirements\n\n- [Tailwind CSS](https://tailwindcss.com/) \u003e= v1.0.0\n\n## Installation\n\nInstall via Yarn:\n\n```sh\n$ yarn add tailwindcss-border-styles\n```\n\n## Usage\n\n```js\n// tailwind.config.js\n{\n  theme: {\n    borderStyles: {\n      styles: true, // defaults to false\n      colors: true, // defaults to false\n    }\n  }\n  plugins: [\n    require('tailwindcss-border-styles')(),\n  ],\n}\n```\n\nThe following utilities are generated when `styles` is set to `true`:\n\n```css\n.border-t-solid {\n  border-top-style: solid;\n}\n\n.border-t-dashed {\n  border-top-style: dashed;\n}\n\n.border-t-dotted {\n  border-top-style: dotted;\n}\n\n.border-t-double {\n  border-top-style: double;\n}\n\n.border-t-none {\n  border-top-style: none;\n}\n\n.border-r-solid {\n  border-right-style: solid;\n}\n\n.border-r-dashed {\n  border-right-style: dashed;\n}\n\n.border-r-dotted {\n  border-right-style: dotted;\n}\n\n.border-r-double {\n  border-right-style: double;\n}\n\n.border-r-none {\n  border-right-style: none;\n}\n\n.border-b-solid {\n  border-bottom-style: solid;\n}\n\n.border-b-dashed {\n  border-bottom-style: dashed;\n}\n\n.border-b-dotted {\n  border-bottom-style: dotted;\n}\n\n.border-b-double {\n  border-bottom-style: double;\n}\n\n.border-b-none {\n  border-bottom-style: none;\n}\n\n.border-l-solid {\n  border-left-style: solid;\n}\n\n.border-l-dashed {\n  border-left-style: dashed;\n}\n\n.border-l-dotted {\n  border-left-style: dotted;\n}\n\n.border-l-double {\n  border-left-style: double;\n}\n\n.border-l-none {\n  border-left-style: none;\n}\n```\n\nThe following utilities are generated when `colors` is set to `true` (based on your theme colors):\n\n```css\n.border-t-white {\n  border-top-color: #fff;\n}\n\n.border-r-white {\n  border-right-color: #fff;\n}\n\n.border-b-white {\n  border-bottom-color: #fff;\n}\n\n.border-l-white {\n  border-left-color: #fff;\n}\n```\n\nas well as the appropriate variants set on [`borderStyle`](https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js#L435) \u0026 [`borderColor`](https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js#L433).\n\n## Testing\n\nTests are handled with [Jest](https://github.com/facebook/jest) and can be ran using:\n\n```sh\n$ yarn run test\n```\n\n## Bug Reports\n\nIf you discover a bug in Tailwind CSS Border Styles, please [open an issue](https://github.com/log1x/tailwindcss-border-styles/issues).\n\n## Contributing\n\nContributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.\n\n## License\n\nTailwind CSS Border Styles provided under the [MIT License](https://github.com/log1x/tailwindcss-border-styles/blob/master/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flog1x%2Ftailwindcss-border-styles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flog1x%2Ftailwindcss-border-styles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flog1x%2Ftailwindcss-border-styles/lists"}