tw-extended
v0.0.1
Published
This package provides some extra classes to match your need.
Readme
Know your size.
This package provides a way of using some classes which are not provided with any number, insted they use pre-defined values, (i.e- sm,md,lg,base,... you got the point).
How to use
1. Install the package
with npm:
npm install tw-extendedwith pnpm:
pnpm add tw-extendedwith yarn:
yarn add tw-extended2. add the plugin in you css file
@import "tw-extended";Now you can use classes like text-5 inseted of text-xl to get the style of { font-size: 20px; }
Why to use this way?
Well if you are using text-8xl and text-9xl you would get 80px and 90px values respectively. Now what if you are to use value in between these values (i.e: 84px)?
Now you can get 80px with text-20, 90px with text-22.5 as well as you can get 84px with text-21
