ClassyKit / Classy

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

Added "System" font support with weight specification + styling per window #100

Closed mikeger closed 9 years ago

mikeger commented 9 years ago

Hey

With iOS 9 Apple rolls out new system fonts logic: system font is now San Francisco, and system font depends on size (until 19pt it is ".SFUI-Text", after it is ".SFUI-Display"). To cover that we imagined that Classy could support font name "System" and then automatically on iOS 8 choosen Helvetica and on iOS 9 appropriate SF font.

In package as well Tests Label test in the app Styling per window

mikeger commented 9 years ago

Sorry, some random stuff showed up in PR from our fork, let us re-create it