ConsenSysMesh / rimble-ui

React components that implement Rimble's Design System.
https://rimble.consensys.design/
MIT License
462 stars 67 forks source link

Refactor Button (spike) #399

Open MikeLockz opened 4 years ago

MikeLockz commented 4 years ago

Right now, buttons have custom props for colors (activeColor, hoverColor, mainColor).

We should try to simplify/standardize this into something that is more flexible for re-use.

Reconsider the architecture of props to make it more deliberate decision for 1.0 so we don't regret these props later.

Goal of this ticket would be to feel good about the button architecture and props.

Acceptance criteria:

E: 1D