Skip to content

Composite padding, corner radius and stroke side renders as [Object] #93

@nathanacurtis

Description

@nathanacurtis

Problem

Composite property values — padding, corner radius, and stroke weight — display as [object Object] in the canvas output when individual sides or corners are specified (e.g., different padding on each side). The output does not handle the nested value structure.

Objects

  • Padding
  • Stroke width
  • Corner radius

Solution

Render composite values in a design-friendly format that shows individual side or corner values (e.g., 8 / 12 / 8 / 12) instead of the raw object representation. Uniform values (all sides equal) should continue to render as a single value.

Metadata

Metadata

Assignees

Labels

pluginFigma plugin

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions