ClassyKit / Classy

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

UIFont not support bold style #102

Closed thuai closed 6 years ago

thuai commented 9 years ago

I want to get a bold UIFont object. Here is my code.

UILabe {
font bold 20
}

I can't work. I've saw the source, it looks like not support bold.

Anyone know how to get a bold font? Thanks very much!

ArtFeel commented 9 years ago

Try this

UILabel {
  font: HelveticaNeue-Bold 20;
}
dnedrow commented 6 years ago

@thuai , I've verified that @ArtFeel has provided the correct answer. Can we close this issue?

thuai commented 6 years ago

@dnedrow @ArtFeel Thanks. That works for me.