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.
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
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.