Re Tailwind screenshot

Re Tailwind

Author Avatar Theme by Phthhieu
Updated: 2 Mar 2022
118 Stars

Brings TailwindCSS https://tailwindcss.com to ReasonML

Overview:

The re-tailwindReasonML utility is a tool designed to generate Tailwind classes for use in ReasonML projects. By adding this utility to the bs-dependencies in bsconfig.json and following a simple usage guide, developers can easily construct Tailwind classnames for their applications. This utility serves as a handy solution for incorporating Tailwind CSS styles with ease in ReasonML projects.

Features:

  • Easy Integration: Simply add re-tailwind to bs-dependencies in bsconfig.json to get started.
  • Classname Generation: Use the TW.make function to construct Tailwind classnames effortlessly.
  • Credits: Acknowledges inspiration from Typed Tailwind for TypeScript and hinting at future enhancements.

Installation:

To install the re-tailwindReasonML utility, follow these steps:

  1. Add re-tailwind to the bs-dependencies in bsconfig.json.
  2. Make sure your application already imports the Tailwind CSS.
  3. Utilize the TW.make function to create your Tailwind classnames.

Summary:

The re-tailwindReasonML utility simplifies the process of generating Tailwind classes for ReasonML projects. By seamlessly integrating this tool and using the provided functions, developers can efficiently incorporate Tailwind CSS styles into their applications. With its straightforward installation process and practical features, re-tailwindReasonML emerges as a valuable asset for enhancing the styling capabilities of ReasonML projects.