UNPKG

cssclasscrafter

Version:

CSSClassCrafter is an npm library that enables developers to dynamically generate CSS classes based on user-defined configuration files. With a simple JSON format for specifying styles, it streamlines the styling process, allowing for easy customization a

40 lines (31 loc) 1.31 kB
<p align="center"> <a href="https://github.com/hiteshodedara/cssclasscrafter" target="_blank"> <img src="assets/imgs/brand_logo.png" width="350" height="80" alt="Brand Logo" style="vertical-align: middle;"> </a> </p> <p align="center"> A utility-first CSS framework for rapidly building custom user interfaces. </p> <p align="center"> <a href="https://github.com/hiteshodedara/cssclasscrafter"><img src="https://img.shields.io/npm/v/cssclasscrafter" alt="Latest Release"></a> <a href="https://github.com/hiteshodedara/cssclasscrafter/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/cssclasscrafter" alt="License"></a> </p> ## Features - **Dynamic CSS Class Generation**: Generate CSS classes dynamically based on your configuration. - **Flexible Configuration**: Easily customize styles with a user-friendly config file. - **Utility Generation**: Automatically generate utility classes for margin, padding, colors, and more. - **Lightweight**: Minimal footprint, focused on performance. ## Installation To install CSSClassCrafter, use npm: ```bash npm install cssclasscrafter ``` ## How To Use To Generate config file ```bash npx csscrafter init ``` After Config File Complete Just Fire This Command ```bash npx csscrafter generate ```