Figma Support Forum

Access thumbnail_url when getting local styles

Problem:

  • When calling getLocalPaintStyles the result doesn’t have a thumbnail_url like when using the rest API for team styles.

Goal:

  • use the getLocalPaintStyles to populate a list of shared styles.

Proposed solution:

  • Add thumbnail_url to the return object of getLocalPaintStyles