Hi everyone!
I’m currently building a design system for my company we have already a Figma Enterprise license, and we’re leveraging the API to sync design tokens with dev team. So far, things have worked well when it comes to color variations at the component level — we’re able to extract and sync those successfully.
However, we’ve hit a bit of a roadblock: The Figma API doesn’t seem to expose component-level values for corner radius, padding, or spacing — at least not in a way we can reliably use for token sync.While color tokens are accessible, properties like padding or radius that vary across component variants (e.g. input/small vs input/large) aren’t available through the API in the same way.
I’m wondering:
-
Is there a workaround or best practice for syncing these kinds of values via the API?
Any help, insights, or suggestions would be hugely appreciated!