Skip to content
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

Add CSS prop to nodes #19

Open
braposo opened this issue May 25, 2019 · 1 comment
Open

Add CSS prop to nodes #19

braposo opened this issue May 25, 2019 · 1 comment

Comments

@braposo
Copy link
Owner

braposo commented May 25, 2019

After talking to @okonet one of his suggestions was to have a css prop in the query that would return the parsed css styles for each node.

I think this is a great suggestion and would be extremely useful for building components using figma-graphql.

We need to see which props can be exported as CSS but should be fairly easy to convert them to css props.

@braposo braposo added this to the v2.0 milestone May 25, 2019
braposo added a commit that referenced this issue Jun 4, 2019
@braposo
Copy link
Owner Author

braposo commented Jun 4, 2019

This might be useful to convert all properties to CSS https://github.com/figma/figma-api-demo/blob/master/figma-to-react/lib/figma.js

braposo added a commit that referenced this issue Jun 4, 2019
braposo pushed a commit that referenced this issue Jun 4, 2019
# [1.11.0](v1.10.0...v1.11.0) (2019-06-04)

### Features

* add css export to nodes ([08200a8](08200a8)), closes [#19](#19)
@braposo braposo removed this from the v2.0 milestone Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant