How can I extract color of the typography in component?
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
-
typography in component
-
Code Connect CLI version: 1.1.2
-
Operating system: Mac OS 13.5.2
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.
Adding in here, this would be useful for getting the color for icons.
Hi team, I’d like to follow up on this discussion. As of October 2025, this issue still seems to persist, and it’s preventing us from fully utilizing Code Connect for Coding. We’d really appreciate it if support for accessing typography color could be considered. Thanks a lot!