{"id":13480354,"url":"https://github.com/octoper/tailwindcss-shadow-outline-colors","last_synced_at":"2025-03-27T10:32:33.625Z","repository":{"id":65514231,"uuid":"249986525","full_name":"octoper/tailwindcss-shadow-outline-colors","owner":"octoper","description":"A TailwindCSS plugin for creating shadow outline with multiple colors","archived":true,"fork":false,"pushed_at":"2020-04-22T09:48:21.000Z","size":510,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-30T14:41:10.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/octoper.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}},"created_at":"2020-03-25T13:31:31.000Z","updated_at":"2023-01-28T07:49:03.000Z","dependencies_parsed_at":"2023-01-26T20:55:22.703Z","dependency_job_id":null,"html_url":"https://github.com/octoper/tailwindcss-shadow-outline-colors","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/octoper%2Ftailwindcss-shadow-outline-colors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octoper%2Ftailwindcss-shadow-outline-colors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octoper%2Ftailwindcss-shadow-outline-colors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octoper%2Ftailwindcss-shadow-outline-colors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octoper","download_url":"https://codeload.github.com/octoper/tailwindcss-shadow-outline-colors/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245827244,"owners_count":20678946,"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-07-31T17:00:37.866Z","updated_at":"2025-03-27T10:32:33.317Z","avatar_url":"https://github.com/octoper.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":[],"readme":"# Tailwind CSS Shadow Outline Colors\n\n[![license](https://badgen.net/github/license/octoper/tailwindcss-shadow-outline-colors)](https://github.com/octoper/tailwindcss-shadow-outline-colors/blob/master/LICENSE)\n[![npm](https://badgen.net/npm/v/tailwindcss-shadow-outline-colors)](https://www.npmjs.com/package/tailwindcss-shadow-outline-colors)\n\n## Installation\n\n```bash\nnpm install tailwindcss-shadow-outline-colors\n```\n\nor using if you are using `yarn`\n\n```bash\nyarn add tailwindcss-shadow-outline-colors\n```\n\nAdd the plugin to the `plugins` array in your Tailwind CSS configuration.\n\n```js\nplugins: [\n    require('tailwindcss-shadow-outline-colors')()\n]\n```\n\n## Colors\nBy default we use the `colors` variable from you TailwindCSS config.\nBut if you want to use different colors you can add `shadowOutlineColors` variable in your config\n\n```js\n// tailwind.config.js\nmodule.exports = {\n  theme: {\n    shadowOutlineColors: {\n        'primary': {\n            500: '#EA4C89',\n            600: '#D3447B',\n            700: '#BE3D6F',\n        },\n    }\n  },\n  variants: {},\n  plugins: [\n    plugins: [ require('tailwindcss-shadow-outline-colors')() ]\n  ],\n}\n```\n\n## Variants\nYou can add `hover`, `focus` or any othe variant just place `shadowOutline` in your variants\n```js\n// tailwind.config.js\nmodule.exports = {\n  theme: {},\n  variants: {\n    'shadowOutline': ['focus']\n  },\n  plugins: [\n    plugins: [ require('tailwindcss-shadow-outline-colors')() ]\n  ],\n}\n```\n\n## Shadow and Opacity\nYou can also change the your shadow style and the opacity of the color \n```js\n// tailwind.config.js\nmodule.exports = {\n  theme: {\n    shadowOutline: {\n        'shadow': '0 0 0 0.2em',\n        'alpha': '0.5'\n    }\n  },\n  plugins: [\n    plugins: [ require('tailwindcss-shadow-outline-colors')() ]\n  ],\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctoper%2Ftailwindcss-shadow-outline-colors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctoper%2Ftailwindcss-shadow-outline-colors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctoper%2Ftailwindcss-shadow-outline-colors/lists"}