1.0.2 • Published 11 months ago

css-to-tailwind-converter v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

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
1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago