Decathlon / vitamin-ios

Decathlon Design System UI components for iOS & iPadOS applications
https://www.decathlon.design
Apache License 2.0
46 stars 14 forks source link

bug: UIKit Vitamin buttons dimensions are not exact compared to Figma #77

Open daniel-dumortier opened 2 years ago

daniel-dumortier commented 2 years ago

Describe the bug

Button in UIKit implementation do not match the size of Buttons in Figma (see below). It might be linked to wrong padding and insets.

New icon alone button are not concerned by this bug

Steps to reproduce

  1. Go to UIKit part of Showcase
  2. Click on "Buttons"
  3. take a screenshot
  4. overlay Figam buttons
  5. See differences

Expected behavior

Button dimension should match exactly Figma button

Screenshots

Capture d’écran 2022-07-26 à 15 09 22

Device (please complete the following information):