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

How can I extract color of the typography in component? #184

Open
jongjunpark opened this issue Oct 16, 2024 · 1 comment
Open

How can I extract color of the typography in component? #184

jongjunpark opened this issue Oct 16, 2024 · 1 comment
Labels
API question under discussion The Code Connect team is currently discussing this request

Comments

@jongjunpark
Copy link

Our Heading component contains typography inside it, and the color of the typography is being changed directly, rather than through the component's own props.
So, I want to extract the color value of the typography. How can I do that?

  • component structure
    스크린샷 2024-10-16 오후 2 19 51

  • typography in component
    image

  • Code Connect CLI version: 1.1.2

  • Operating system: Mac OS 13.5.2

@tomduncalf-figma
Copy link
Contributor

Hey @jongjunpark, right now this is not possible, you can only access components props and text content. I'll raise this for discussion with the team as I can see there are cases like yours where direct access to design props might be useful.

@tomduncalf-figma tomduncalf-figma added the under discussion The Code Connect team is currently discussing this request label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API question under discussion The Code Connect team is currently discussing this request
Projects
None yet
Development

No branches or pull requests

2 participants