1.1.1 • Published 1 year ago

tailwindcss-svg v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

tailwindcss-svg

use this package for add custom class in your tailwindcss project like stroke-* , ....

Installation

Install tailwindcss-svg with npm

  npm i tailwindcss-svg

init

in tailwindcss config file add this

tailwind.config.js

module.exports = {
    ...
    plugins:[
        ...
        require('tailwindcss-svg')
    ]
}

API Reference

class list

nametypeDescription
stop-colorcolorstop-color-* for add stop-color css in stop tag svg
stop-opacitypercentagestop-opacity-* for add stop-opacity css in stop tag svg
stroke-urlurlstroke-url-[link] for add stroke-url css
stroke-limitnumberstroke-limit-* for add stroke-limit css
fill-urlurlfill-url-[link] for add fill-url css
1.1.1

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago