Theming libraries
This has been touched before, but let's try to make a decision that we stick with for a while, so that we reduce the amount of times that we say "after theming is done". :)
So the two options that we're looking at for the moment are:
react-css-themr
Pros
- Small overhead when porting from our current system
- Much closer to "vanilla" CSS, with CSS variables and CSS modules.
Cons
- Not actively maintained. There seems to have been almost no commits in months.
- The author of the library seems to have switched to styled components.
styled-components
Pros
- Strong community with lots of activity.
- Powerful features like referring to other components, theming changes according to context work out of the box.
Cons
- Significantly more work to port our current codebase.
- Library-specific syntax, not "vanilla".
- By extension, this might make it more difficult for designers to directly work on themes.
- Not everyone likes css-in-js
@jure @g-sam @tamlyn @bogdan @malexsan1 @adam @John.kopanas @alexgeo @mynameissmeall @girish
Let's try to make a decision by Friday.
We also need to check whether styled components work well with the styleguide.