Twitter | Search | |
This is the legacy version of twitter.com. We will be shutting it down on 15 December 2020. Please switch to a supported browser or device. You can see a list of supported browsers in our Help Center.
Mark Dalgleish
If you haven't seen Styled System before, do yourself a favour and check it out. It's been a huge influence in my thinking on component-oriented styles. Even if you can't use it in your particular stack, you can still borrow the core concepts—as we have.
⬢ Style props for rapid UI development. Contribute to styled-system/styled-system development by creating an account on GitHub.
GitHub GitHub @github
Reply Retweet Like More
Mike Plis 18 Mar 19
Replying to @markdalgleish
I'm not super familiar with it, but it only works with CSS-in-JS libs, right? Is there any way to get the same or similar experience without CSS-in-JS?
Reply Retweet Like
Mark Dalgleish 18 Mar 19
Replying to @mikeplis
You could equally implement this as a React component that wraps a bunch of CSS utility classes—no CSS-in-JS required.
Reply Retweet Like
Rudi Yardley 19 Mar 19
Replying to @markdalgleish
I think it’s great so long as you remain committed to extracting out your boilerplate to reusable comps. If too much gets left in place from prototyping I felt markup becomes verbose and hard to grok. Straight SC forces creation of semantic comps from the start which I prefer.
Reply Retweet Like
Rudi Yardley 19 Mar 19
Replying to @markdalgleish
Also we found it hard to remember the API and the way units work can be difficult to get your head around. These things led us to remove it from our codebase before it got too entrenched. I think there are some great ideas in there however! I love how it is put together.
Reply Retweet Like
A. Sharif 18 Mar 19
Replying to @markdalgleish @mrmrs_
Yes, styled-system is impressive. After being amazed by Tachyons it was that pointed me to styled-system. So many great ideas and concepts in there. So much to learn from there.
Reply Retweet Like
Dylan Broadbridge 18 Mar 19
Yeah I actually miss it when working with react native stylesheets. Tried to keep it simple, but I'm starting to implement styled system like components so might have to make the jump.
Reply Retweet Like
Brent Jackson 18 Mar 19
Replying to @markdalgleish
Are you *trying* to get a quote on the landing page? ;)
Reply Retweet Like
Justin Bennett 18 Mar 19
Replying to @jxnblk @markdalgleish
This just in, styled-components the best thing since sliced bread. It tastes better too.
Reply Retweet Like
Mitch Stewart 18 Mar 19
Replying to @markdalgleish
So good! The responsive style props work great with Playroom too 😂
Reply Retweet Like
Dennis Hansen 🧢 19 Mar 19
Replying to @markdalgleish
We don’t use styles system as a dependency, but have utilized this spec, and it’s been awesome.
Reply Retweet Like