Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discussion about Styled Components #1526

Closed
rizedr opened this issue Mar 29, 2017 · 1 comment
Closed

Discussion about Styled Components #1526

rizedr opened this issue Mar 29, 2017 · 1 comment

Comments

@rizedr
Copy link

rizedr commented Mar 29, 2017

Has anyone thought on how you could use this library with styled components?

The reasons one might want to do that are:

  • more modularity & faster compile time;
  • using semantic-ui css & a custom css layer on top to make your styles unique does not work because of webpack style order import bug;
  • using semantic-ui less has a huge compile time, 20s to compile all .less and around 10 second to compile a change when watching.

I'm thinking that one way you could use this library w/ styled components is to write, in your project, for each react semantic-ui components, a styled component on top, and use that in your project. Furthermore, maybe there should be a semantic-ui-css version written as styled components?

What do you think?

@levithomason
Copy link
Member

Yep, duplicate #1009. Would love feedback there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants