Skip to content

Parallax18/css-to-tailwind-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

css-to-tailwind-converter

css-to-tailwind is a TypeScript package that converts CSS style objects into Tailwind CSS classes. This package helps you seamlessly integrate inline styles with Tailwind CSS by mapping standard CSS properties and values to their Tailwind counterparts.

Features

  • Dynamic Conversion: Convert CSS properties to Tailwind classes, including support for custom values and units.
  • Error Handling: Provides clear error messages for invalid color formats and units.
  • Flexible Configuration: Easily extendable to handle additional CSS properties and values.

Installation

To install the package, run:

npm install css-to-tailwind-converter

About

NPM package - Converts CSS style object to tailwind Css

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published