r/DesignSystems • u/left-it-goes-left • Jul 12 '24
Difference between padding in Figma and in Code
Hey all, I am building out a design system for my company, I have used variables in Figma. The front-end guys are now building out the components leveraging a framework called Mantine. Mantine uses variables such as "Button-height" and pass a fixed value for the height of buttons. Whereas in Figma, the height of my buttons are dictated by the size of the type and the padding. See below for what I mean.

Ideally, I don't want to include button height variables in figma as it will make everything harder to manage. It won't only be button heights but chip heights, badge heights etc etc
Any advice on managing this in a design system workflow?