Colors
All components share a set of "universal" props, that is props shared by all components and have the same effect.
#
Colorscolor
is one such prop that has the same usage across components. There are five colors and they can be used two ways: solid or outline :
#
Solid ColorsSolid colors style the interior of the components, but leave the border (oooo pretty colors ๐ฏ).
Live Editor
Result
SyntaxError: Unexpected token (1:8) 1 : return () ^
#
Outline ColorsOutline colors change the interior and the border.
caution
Outline colors are not compatible with Switch
or plain
Live Editor
Result
SyntaxError: Unexpected token (1:8) 1 : return () ^