{"_id":"@datatr-ux/ods-tailwind-config","_rev":"3-3e0f8b17224773e63809815733dc7942","name":"@datatr-ux/ods-tailwind-config","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@datatr-ux/ods-tailwind-config","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"@datatr-ux/ods-tailwind-config@1.0.0","maintainers":[{"name":"jperchoc","email":"jonathan.perchoc@gmail.com"}],"dist":{"shasum":"f4c7df70677fa309b56d7687b695bc196010022f","tarball":"https://registry.npmjs.org/@datatr-ux/ods-tailwind-config/-/ods-tailwind-config-1.0.0.tgz","fileCount":58,"integrity":"sha512-OOrnDbWqfyZL3+FT7Hm+VjtxBNLvFW5WEm3DBRWZHqdQeaR5GCitala2vMvJFyoN5WhOFgrkJZO7+ng4o1Pm4w==","signatures":[{"sig":"MEQCIAMtDWTxp7/7gpK3IoLs+7YPIOUJjF09g09FeUdyHb25AiBcfp1+thpbseuS0QhsTkMbw22BuvXAWup1i/HslDU6Hg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5688306},"main":"dist/index.js","types":"dist/types/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./style.css":"./dist/style.css","./tailwind.config":"./dist/tailwind.config.js"},"gitHead":"29926c3e4ddf6128cd1ad3caaa7859caa22dacec","scripts":{"dev":"tsc --watch","test":"echo \"No tests yet\" && exit 0","build":"tailwindcss -i ./style.css -o ./dist/style.css && tsc","clean":"rm -rf dist","start":"npm run dev","prepare":"npm run build"},"_npmUser":{"name":"jperchoc","email":"jonathan.perchoc@gmail.com"},"_npmVersion":"10.5.0","description":"Export a Tailwind config based on ODS","directories":{},"_nodeVersion":"18.20.2","dependencies":{"@ovhcloud/ods-themes":"^18.4.1"},"_hasShrinkwrap":false,"devDependencies":{"postcss":"^8.4.49","typescript":"^5.7.2","@types/node":"^22.10.5","tailwindcss":"^3.4.17","autoprefixer":"^10.4.20","postcss-import":"^16.1.0"},"_npmOperationalInternal":{"tmp":"tmp/ods-tailwind-config_1.0.0_1736170142906_0.7418618847587883","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@datatr-ux/ods-tailwind-config","version":"1.0.1","keywords":[],"author":"","license":"ISC","_id":"@datatr-ux/ods-tailwind-config@1.0.1","maintainers":[{"name":"jperchoc","email":"jonathan.perchoc@gmail.com"}],"dist":{"shasum":"828a5700a7059427ca2a4597f563bcbab6fcee28","tarball":"https://registry.npmjs.org/@datatr-ux/ods-tailwind-config/-/ods-tailwind-config-1.0.1.tgz","fileCount":9,"integrity":"sha512-bXXiCUfbXArqc1JWRirkhlvN+o+IxSy4/mddXxf1l5s+HI7p23RlpiUY6r0d1QzztMXaORSNoZf7LJtfY0cpaA==","signatures":[{"sig":"MEUCIQDnBH7vKoeBq7gwBOenjcN9xgFlipGI7tu/suE6J/UxpwIgX0gMCrdKPMD5KHuuGU0cgQ1PMd2FR0HTcM+de7GpgDU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1722944},"main":"dist/index.js","types":"dist/types/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./style.css":"./dist/style.css","./tailwind.config":"./dist/tailwind.config.js"},"gitHead":"d4ff97b3777b46e2e46c94bc96b212a4f5e74096","scripts":{"dev":"tsc --watch","test":"echo \"No tests yet\" && exit 0","build":"tailwindcss -i ./style.css -o ./dist/style.css && tsc","clean":"rm -rf dist","start":"npm run dev","prepare":"npm run build"},"_npmUser":{"name":"jperchoc","email":"jonathan.perchoc@gmail.com"},"_npmVersion":"10.5.0","description":"Export a Tailwind config based on ODS","directories":{},"_nodeVersion":"18.20.2","dependencies":{"@ovhcloud/ods-themes":"^18.4.1"},"_hasShrinkwrap":false,"devDependencies":{"postcss":"^8.4.49","typescript":"^5.7.2","@types/node":"^22.10.5","tailwindcss":"^3.4.17","autoprefixer":"^10.4.20","postcss-import":"^16.1.0"},"_npmOperationalInternal":{"tmp":"tmp/ods-tailwind-config_1.0.1_1736179316935_0.521309290880116","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@datatr-ux/ods-tailwind-config","version":"1.0.2","keywords":[],"author":"","license":"ISC","_id":"@datatr-ux/ods-tailwind-config@1.0.2","maintainers":[{"name":"jperchoc","email":"jonathan.perchoc@gmail.com"}],"dist":{"shasum":"cb9f82fe58ae64bfd46860978e342a403c4ae7df","tarball":"https://registry.npmjs.org/@datatr-ux/ods-tailwind-config/-/ods-tailwind-config-1.0.2.tgz","fileCount":9,"integrity":"sha512-ZpWFPa9v7hLW11xjJLrfzVDcmu0eedIsnfJZyRHjSMtnSBdwF9VGaS5uDeCH6JgOX2J2dPnpxpkslRYjLHjYuw==","signatures":[{"sig":"MEUCIH3fgXPifUj13kNhFS1iTsEOWc5KHGvcwS752fXJjMrUAiEAn3ucdroDxCSaMAzkeom2+UNnWJ5EruXhkG+R5bPEMwo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1723529},"main":"dist/index.js","types":"dist/types/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./style.css":"./dist/style.css","./tailwind.config":"./dist/tailwind.config.js"},"gitHead":"d4ff97b3777b46e2e46c94bc96b212a4f5e74096","scripts":{"dev":"tsc --watch","test":"echo \"No tests yet\" && exit 0","build":"tailwindcss -i ./style.css -o ./dist/style.css && tsc","clean":"rm -rf dist","start":"npm run dev","prepare":"npm run build"},"_npmUser":{"name":"jperchoc","email":"jonathan.perchoc@gmail.com"},"_npmVersion":"10.5.0","description":"Export a Tailwind config based on ODS","directories":{},"_nodeVersion":"18.20.2","dependencies":{"@ovhcloud/ods-themes":"^18.4.1"},"_hasShrinkwrap":false,"devDependencies":{"postcss":"^8.4.49","typescript":"^5.7.2","@types/node":"^22.10.5","tailwindcss":"^3.4.17","autoprefixer":"^10.4.20","postcss-import":"^16.1.0"},"_npmOperationalInternal":{"tmp":"tmp/ods-tailwind-config_1.0.2_1736180142095_0.870267744800556","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@datatr-ux/ods-tailwind-config","version":"1.0.3","description":"Export a Tailwind config based on ODS","main":"dist/index.js","types":"dist/types/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./style.css":"./dist/style.css","./tailwind.config":"./dist/tailwind.config.js"},"keywords":[],"author":"","license":"ISC","dependencies":{"@ovhcloud/ods-themes":"^18.4.1"},"devDependencies":{"@types/node":"^22.10.5","autoprefixer":"^10.4.20","postcss":"^8.4.49","postcss-import":"^16.1.0","tailwindcss":"^3.4.17","typescript":"^5.7.2"},"scripts":{"dev":"tsc --watch","build":"tailwindcss -i ./style.css -o ./dist/style.css && tsc","test":"echo \"No tests yet\" && exit 0","prepare":"npm run build","clean":"rm -rf dist","start":"npm run dev"},"_id":"@datatr-ux/ods-tailwind-config@1.0.3","gitHead":"d4ff97b3777b46e2e46c94bc96b212a4f5e74096","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-bQrlP+Qj1OC2oj/CmzqswG6D6j/RPvC21ZnRQrOuRLFo+CM+LhQi94EErf1abivJWeXMa2BZ/eID6s+iB4dPHw==","shasum":"f4fe4cf803d9a1d5fbf2d5356b0cc58b0572f7a7","tarball":"https://registry.npmjs.org/@datatr-ux/ods-tailwind-config/-/ods-tailwind-config-1.0.3.tgz","fileCount":9,"unpackedSize":1723465,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUFPLdKNoHnmXZ/ddQ1vo1H+s/ErOJZHRpTZCBymzb0wIgT61s/Qn8BU1vWKuP2dzaTgn+/FsdkJYCOuEytxliqmg="}]},"_npmUser":{"name":"jperchoc","email":"jonathan.perchoc@gmail.com"},"directories":{},"maintainers":[{"name":"jperchoc","email":"jonathan.perchoc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ods-tailwind-config_1.0.3_1736180465020_0.9660200406440285"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-06T13:29:02.810Z","modified":"2025-01-06T16:21:05.530Z","1.0.0":"2025-01-06T13:29:03.218Z","1.0.1":"2025-01-06T16:01:57.174Z","1.0.2":"2025-01-06T16:15:42.329Z","1.0.3":"2025-01-06T16:21:05.285Z"},"license":"ISC","keywords":[],"description":"Export a Tailwind config based on ODS","maintainers":[{"name":"jperchoc","email":"jonathan.perchoc@gmail.com"}],"readme":"# @datatr-ux/ods-tailwind-config\n\nA Tailwind CSS plugin that extends your theme with custom colors, border radius values, and base styles following the OVHcloud design system.\n\n## Installation\n\nInstall the library and its dependencies using npm:\n\n```bash\nnpm install @datatr-ux/ods-tailwind-config\n```\n\nIf you don't have Tailwind CSS installed in your project, follow the [Tailwind installation guide](https://tailwindcss.com/docs/installation) first.\n\n---\n\n## Usage\n\n### Step 1: Add the Plugin to Your Tailwind Configuration\n\nIn your `tailwind.config.js` file, add the plugin to the `plugins` array:\n\n```javascript\nmodule.exports = {\n  content: [\"./src/**/*.{js,ts,jsx,tsx,html}\"],\n  theme: {\n    extend: {},\n  },\n  plugins: [\n    require('tailwindcss-animate'),\n    require('@datatr-ux/ods-tailwind-config'),\n  ],\n};\n```\n\n### Step 2: Import the Styles\n\nIn your main CSS file (e.g., `src/style.css`), import the library's base styles:\n\n```css\n@import '@datatr-ux/ods-tailwind-config/style.css';\n```\n\nThis ensures that the OVHcloud design system styles are applied to your project.\n\n---\n\n## Features\n\n1. **Extended Theme Configuration**:\n   - **Custom Colors**: Adds OVHcloud-specific color palettes.\n   - **Custom Border Radius**: Provides additional border radius utilities.\n\n2. **Base Styles**:\n   - Applies default font-family, heading styles, and typography consistent with the OVHcloud design system.\n\n3. **Integration-Ready**:\n   - Automatically works with TailwindCSS projects by including this plugin and importing its styles.\n\n---\n\n## Example\n\n### Example Project Configuration\n\n#### `tailwind.config.js`\n\n```javascript\nmodule.exports = {\n  content: [\"./src/**/*.{js,ts,jsx,tsx,html}\"],\n  theme: {\n    extend: {},\n  },\n  plugins: [\n    require('tailwindcss-animate'),\n    require('@datatr-ux/ods-tailwind-config'),\n  ],\n};\n```\n\n#### `src/style.css`\n\n```css\n@import '@datatr-ux/ods-tailwind-config/style.css';\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n```\n\n### Result\nWith the configuration above, your project will use the extended TailwindCSS theme and styles provided by `@datatr-ux/ods-tailwind-config`.\n\n---\n\n## Contributing\n\nContributions are welcome! To contribute:\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/datatr-ux/ods-tailwind-config.git\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Make your changes and submit a pull request.\n\n---\n\n## License\n\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n","readmeFilename":"README.md"}