ClassyKit / Classy

Expressive, flexible, and powerful stylesheets for UIView and friends.
http://classykit.github.io/Classy/
MIT License
740 stars 76 forks source link

FEATURE REQUEST: Device support #75

Closed TheCoordinator closed 10 years ago

TheCoordinator commented 10 years ago

One thing that I like about pixate's freestyle is having conditions based on what device you're using. This can be quite helpful when you have a universal app and having different designs for the two devices.

Since I'm considering to use this library, do you think if you can add this as a feature too?

A simple example would be:

iPad UIView UIButton { background-color: red }

iPhone UIView UIButton { background-color: purple }

keithnorm commented 10 years ago

This is supported see https://github.com/cloudkite/Classy/issues/53 for more details. Thanks!

TheCoordinator commented 10 years ago

Great, that works for me.