hexacta/sanata

Move to a CSS-in-JS solution

pomber opened this issue · 4 comments

I tried styled-components and liked it a lot except from the fact of having big strings everywhere.
Maybe we should try glamorous, it's similar but with objects instead of strings.

I'll give a try to glamorous!

Hi!

Just to be sure about your vision on glamorous please take a look at my repository where I am implementing it.

https://github.com/anicarrr/sanata/tree/glamorousImplementation

If that's ok for you I'll continue doing it!

I removed all the style from the style.js file and add them into its corresponding components files.

Glamorous is implemented it at the following files:

  • App.js
  • Form.js
  • Spinner.js
  • StatusBar.js
  • TextboxButton.js

https://github.com/anicarrr/sanata/tree/glamorousImplementation

If this looks good for you I'll continue with the rest.

Gooood.
Can you send a PR so it's easier to review?