Package Exports
- tailwindcss-opacity
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tailwindcss-opacity) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
TailwindCSS Opacity Plugin
Contribution to the TailwindCSS community and product.
Open source npm module for TailwindCSS.
Provides easy generation of opacity classNames through the tailwind.config.js setup for use on color, borderColor, and backgroundColor attributes complementing your TailwindCSS theme('colors') configuration.
Currently tailwindcss only offers opacity at the element level, not the attribute level.
Use
npm i --save tailwindcss-opacity
In tailwind.config.js
{
plugins: [
require('tailwindcss-opacity')([0.1, 0.25, 0.3, 0.45, 0.562, 0.75, 0.9])
]
}
History
- Npm Module, Open Source
Credits
- Company: ©2019 The Launch
- Author: Daniel Griffiths
- Role: Founder and Engineer
- Project: ©2020 TailwindCSS Opacity (contribution to TailwindCSS community)