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

More information on how to copy layout and styles #23

Open
csiqueirasilva opened this issue Jan 25, 2025 · 0 comments
Open

More information on how to copy layout and styles #23

csiqueirasilva opened this issue Jan 25, 2025 · 0 comments

Comments

@csiqueirasilva
Copy link

Hello. I'm new to Figma and ive been following as closely as I can the documentation in this repository to get figma code connect working. Some stuff is great, but there's something i was not able to figure out:

When i click some of the exambles in the figma and use the visual studio plugin, two boxes appear: LAYOUT and STYLE:

Image

What am I supposed to do with those? Create a div and add those CSS styles to it? Or nothing at all? When doing nothing it seems im breaking something - is this just because the components arent 1:1 (check the icons picture - dont think this is a problem, but should be clarified for starters like myself)

(first image from figma, icons rendered)
Image

(second image after cloning the repository, and running the application, the icons are texts)
Image

Also, when clicking a nested component that has some code from code connect, the layout and style appear again. Should I do anything?

Image

So to summarize, this issue is regarding more documentation on the topics above, specially targeting people who never used figma.

Background: currently a lot of value can be perceived from this tool in our company, but we need more fully working samples to try to get the design team on board.

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