Open evyasafm opened 3 years ago
Hey there ! I actually have a local branch to generate Color Assets (in an Asset Catalog), which should help achieve what you want.
If that's valuable for you I can push it here and let you play with it, but it's still a bit of work in progress :)
Just realized your question was about Text Styles and not colors. This is a bit trickier because Xcode doesn't have any UI element to allow selecting something like a Text Style.
The only way would be providing some clear text field (as @IBInspectable), but that would be very error prone.
Here's an example for Color Assets that are going into Prism soon, if that's helpful @evyasafm:
If Xcode ever adds a way to add arbitrary drop-down items, I'll be happy to add Text Styles as well, but doesn't seem it's on their wishlist :)
Great, and Thanks for all of your work :) It would be awesome if Apple implemented an Inspectable drop-down!
When is it likely to be ready for production?
Colors should be in the following week, probably
Hi, Can the Prism TextStyle be used within a xib / storyboard?