Text color
Set your text color with rapid
How to apply a text color
Backgrounds are applied using the following utility patttern text-[color]-[shade]. Shades are in the range of 50-900 (in tailwindcss manner)
Here is an example
RapidText(
text: "Demo",
styles: "text-green-900",
);
Accepted text colors
No variant
text-whitetext-blacktext-transparent
With variants
text-ambertext-bluetext-blackgreytext-browntext-cyantext-deeporangetext-deeppurpletext-greentext-greytext-indigotext-lightbluetext-lightgreentext-limetext-orangetext-pinktext-purpletext-redtext-tealtext-yellow
Variant color ranges
50100200300400500600700800900
How to apply range to variant color
Here is a quick example
RapidText(
text: "Demo",
styles: "text-blue-50", // here 50 is the range of the color
);