{"id":22793086,"url":"https://github.com/kripod/tailwindcss-inner-border","last_synced_at":"2025-04-16T15:51:16.184Z","repository":{"id":61497672,"uuid":"552015202","full_name":"kripod/tailwindcss-inner-border","owner":"kripod","description":"A Tailwind CSS plugin that provides utilities for creating inner borders with box-shadow.","archived":false,"fork":false,"pushed_at":"2023-08-23T15:29:39.000Z","size":23,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T05:32:36.011Z","etag":null,"topics":["border","box-shadow","inset","inside","plugin","tailwind"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/tailwindcss-inner-border","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/kripod.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"kripod"}},"created_at":"2022-10-15T16:13:15.000Z","updated_at":"2025-01-18T19:01:12.000Z","dependencies_parsed_at":"2024-06-18T21:20:09.748Z","dependency_job_id":"7cba84f1-33fc-4c83-8481-c4998171efe6","html_url":"https://github.com/kripod/tailwindcss-inner-border","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/kripod%2Ftailwindcss-inner-border","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kripod%2Ftailwindcss-inner-border/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kripod%2Ftailwindcss-inner-border/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kripod%2Ftailwindcss-inner-border/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kripod","download_url":"https://codeload.github.com/kripod/tailwindcss-inner-border/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637832,"owners_count":21137538,"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":["border","box-shadow","inset","inside","plugin","tailwind"],"created_at":"2024-12-12T03:17:59.277Z","updated_at":"2025-04-16T15:51:16.162Z","avatar_url":"https://github.com/kripod.png","language":"JavaScript","readme":"# tailwindcss-inner-border\n\nA plugin that provides utilities for creating inner borders with box-shadow.\n\n## Installation\n\nInstall the plugin from npm:\n\n```sh\nnpm install -D tailwindcss-inner-border\n```\n\nThen add the plugin to your `tailwind.config.js` file:\n\n```js\n// tailwind.config.js\nmodule.exports = {\n  theme: {\n    // ...\n  },\n  plugins: [\n    require(\"tailwindcss-inner-border\"),\n    // ...\n  ],\n};\n```\n\n## Usage\n\nUse the `inner-border-{n}` utilities to set the inner border width for all sides of an element:\n\n\u003c!-- prettier-ignore-start --\u003e\n```html\n\u003cinput class=\"inner-border ...\"\u003e\n\u003cinput class=\"inner-border-2 ...\"\u003e\n```\n\u003c!-- prettier-ignore-end --\u003e\n\nControl the inner border color of an element using the `inner-border-{color}` utilities:\n\n\u003c!-- prettier-ignore-start --\u003e\n```html\n\u003cinput class=\"inner-border-2 inner-border-rose-500 ...\"\u003e\n```\n\u003c!-- prettier-ignore-end --\u003e\n\nVariants and color opacity modifiers may also be used:\n\n\u003c!-- prettier-ignore-start --\u003e\n```html\n\u003cinput class=\"inner-border-2 inner-border-rose-500/75 hover:inner-border-rose-500 ...\"\u003e\n```\n\u003c!-- prettier-ignore-end --\u003e\n\n## Configuration\n\nYou can configure which values and variants are generated by this plugin under the `borderWidth` and `borderColor` keys in your `tailwind.config.js` file.\n\n\u003e **Note**\n\u003e\n\u003e By default, Tailwind makes the entire default color palette available as border colors. You can customize your color palette by editing `theme.colors` or `theme.extend.colors` as shown below.\n\n```diff\n// tailwind.config.js\nmodule.exports = {\n  theme: {\n    borderWidth: {\n      DEFAULT: \"1px\",\n      0: \"0px\",\n      2: \"2px\",\n+     3: \"3px\",\n      4: \"4px\",\n+     6: \"6px\",\n-     8: \"8px\",\n    },\n    extend: {\n+     colors: {\n+       \"regal-blue\": \"#243c5a\",\n+     },\n    },\n  },\n};\n```\n","funding_links":["https://github.com/sponsors/kripod"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkripod%2Ftailwindcss-inner-border","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkripod%2Ftailwindcss-inner-border","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkripod%2Ftailwindcss-inner-border/lists"}