style-guide
style-guide copied to clipboard
Separators - add new color and refactor props
Currently we have color defined with not the best way:
<SeparatorHorizontal white />
<SeparatorHorizontal grayDark />
we should change it to
<SeparatorHorizontal color={colorVariable} />
color props should get values in a new way https://design.brainly.com/8adfd5f36/p/851b11-colors like in https://design.brainly.com/8adfd5f36/p/851b11-colors
<Spinner color="peach-700" />
When we refactor it we need to add the color Gray-300
to it
And then we should be able to use it like this
<SeparatorHorizontal color="gray-300" />
@matikrk Spinner and both Separators components were refactored recently. You can see all available colors here: https://style-guide.brainly.com/?path=/story/components-spinner--colors and https://style-guide.brainly.com/?path=/story/components-separators-separatorhorizontal--colors. Let me know if you need more colors to be added