morajabi / styled-media-query

💅💍 Better media queries for styled-component
MIT License
1.32k stars 53 forks source link

What do you think about the new API for version 2.0.0 #8

Closed morajabi closed 7 years ago

morajabi commented 7 years ago
screen shot 2017-08-24 at 11 49 34 am

I'm working on a new API in version 2 and so far I came to this. What do you think about it? Is it readable? What can we add or change?

Note: The old API (media.to.large) is still there and you'll have no problems using it, but probably in version 3 it will be removed.

tylerreckart commented 7 years ago

@morajabi I love this API 😄 Making the definitions as verbose as possible will make it much easier for junior devs to get up and running with this. I remember defining media queries as being a pain point when I started out

morajabi commented 7 years ago

@tylerreckart Finally, It is released now and you can use it!