>>nopeYo+(OP)
Tailwind simplifies part of that problem since you don't need to map to the myriad of custom class names in use, rather you solely need to preprocess off the tailwind config.
Companies like Bifrost (YC W22) are working on this problem and already automatically generate React components from Figma autolayout designs.