1) Add iOS exports for font, font weight, and border radius tokens
~2) Add support for a platform-specific memberName when simply using {{removeSpaces this.name}} could create a conflict (in this case, the iOS repo is defining class Font with constants for the actual UIFont instances, whereas what's being exported as part of this pod is simply the values for the font size & weight. Therefore it seemed more appropriate to name this pod's member FontAttributes.~ Realized this wasn't necessary after all
~3) Add support for a token.platforms.ios.type property to specify how each token should be defined. Previously, all tokens were defined as constants (public static let ...), but now there is also an enumCase option which will define them as case ... (useful for font weight, which is semantically an enum with no raw values).~
1) Add iOS exports for font, font weight, and border radius tokens ~2) Add support for a platform-specific
memberName
when simply using{{removeSpaces this.name}}
could create a conflict (in this case, the iOS repo is definingclass Font
with constants for the actualUIFont
instances, whereas what's being exported as part of this pod is simply the values for the font size & weight. Therefore it seemed more appropriate to name this pod's memberFontAttributes
.~ Realized this wasn't necessary after all ~3) Add support for atoken.platforms.ios.type
property to specify how each token should be defined. Previously, all tokens were defined as constants (public static let ...
), but now there is also anenumCase
option which will define them ascase ...
(useful for font weight, which is semantically an enum with no raw values).~