amplify-studio icon indicating copy to clipboard operation
amplify-studio copied to clipboard

Figma Strokes are ignored on generated component

Open matart15 opened this issue 3 years ago • 2 comments

Before creating a new issue, please confirm:

On which framework/platform are you having an issue?

React

Which UI component?

Other

How is your app built?

React

What browsers are you seeing the problem on?

Chrome

Please describe your bug.

want to crete this Screenshot 2023-01-03 at 16 28 48

Used Stroke on Figma Screenshot 2023-01-03 at 16 29 13

But amplify UI results with Screenshot 2023-01-03 at 16 31 20

Looks like any stroke value is ignored. I tried with of stroke to 20px without dash

What's the expected behaviour?

create component with stroke.

stroke is used for design. If it is not working mostly my design sucks and no reason of using Amplify UI to generate UI code

Help us reproduce the bug!

On figma create Button or line. give stroke to it. and generate component on Amplify

Code Snippet

// Put your code below this line.

Additional information and screenshots

No response

matart15 avatar Jan 03 '23 07:01 matart15

Hey @matart15, thank you for reaching out. I was able to reproduce the issue. Marking this as bug for further investigation and mitigation.

ykethan avatar Jan 05 '23 17:01 ykethan

Hey @matart15 , this issue has been queued up to be worked on. In the meanwhile, here is workaround: you can set the height on the stroke through the component configurator. Thanks for your patience. amplify+studio+heigh+property

hein-j avatar Mar 15 '23 20:03 hein-j