Skip to main content
Tandem
November 29, 2021

Access thumbnail_url when getting local styles

  • November 29, 2021
  • 1 reply
  • 828 views

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

1 reply

November 23, 2023

i’m working on a plugin that deals with previewing components and this would be super useful!

btw, did you find a workaround if you couldn’t get a thumbnail url from a local paint style?