Background
Set your container background with rapid
How to apply a background color
Backgrounds are applied using the following utility patttern bg-[color]-[shade]. Shades are in the range of 50-900 (in tailwindcss manner)
Here is an example
RapidContainer(
styles: "bg-grey-900",
child: MyWidget()
);
Accepted background colors
No variant
bg-whitebg-blackbg-transparent
With variants
bg-amberbg-bluebg-blackgreybg-brownbg-cyanbg-deeporangebg-deeppurplebg-greenbg-greybg-indigobg-lightbluebg-lightgreenbg-limebg-orangebg-pinkbg-purplebg-redbg-tealbg-yellow
Variant color ranges
50100200300400500600700800900
How to apply range to variant color
Here is a quick example
RapidContainer(
styles: "bg-pink-50", // here 50 is the range of the color
child: MyWidget()
);