style-guide icon indicating copy to clipboard operation
style-guide copied to clipboard

Separators - add new color and refactor props

Open matikrk opened this issue 2 years ago • 1 comments

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 avatar Aug 06 '21 11:08 matikrk

@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

domidomi avatar Mar 15 '22 08:03 domidomi