UNPKG

@netlify/tailwind-config

Version:
34 lines (21 loc) 790 B
# @netlify/tailwind-config This package provides a shared Tailwind CSS configuration for Netlify products. ## Installation To install the package, navigate to your project directory and run: ```sh yarn add @netlify/tailwind-config ``` ## Usage In your `tailwind.config.cjs` file, import and use the configuration like this: ```js // tailwind.config.cjs module.exports = { presets: [require('@netlify/tailwind-config')], // ... }; ``` This will load the Netlify Tailwind configuration into your project's Tailwind configuration. You can then add your own custom configurations as needed. ## Contributing To contribute to this package, please follow the contribution guidelines provided in the main project's README. ## License This package is licensed under the MIT license.