Skip to main content
Question

REST API getCSSAsync() returns incorrect data

  • July 22, 2025
  • 1 reply
  • 28 views

Hi team,
I’m experiencing following behavior:

How to reproduce

  • create Frame in Figma – no auto-layout
  • add Stroke with stroke weight and “position inside” and “Miter” setting
  • Figma node itself shows paddingTop, Bottom, Left and Right “0” (as expected)
  • getCSSAsync() returns padding values, in my case padding: "22px 0px 18px 0px"

I would expect getCSSAsync() to not return any padding values, because I have not set any paddings anywhere.

1 reply

  • Author
  • New Participant
  • July 29, 2025

@Celine_ ping