-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose list of components #41
Comments
Hey @ldstreet, The good news is that we're working hard on Public API, so this data will be accessible through the API for each individual component in a project/styleguide. Can you share the use cases you have in mind so that we can understand the requirements better? |
This sounds great. I am looking to write a tool that can export a style guide into json representation that is then consumed by a styling layer in our iOS client. The JSON has nodes for colors, text styles, and components. The a shortened example of the necessary output looks like this:
The end result is being able to easily style any component like this: let label = Label().styled(as: .label1) |
Hello, I noticed that y’all have released your API but it seems like support for this feature is still missing. Is it planned to be added in the future? Thanks! |
Just like text styles and colors, components should be exposed as an array.
The text was updated successfully, but these errors were encountered: