"As always, it's not wise to blindly copy and paste machine-generated code, but this is super useful as a jumping off point to tweak and adjust."
I have used Figma just a little bit, but I've learnt that the application is built on HTML, CSS and JS. The desktop app is basically an Electron app that comes with a browser for rendering the UI etc... So, that machine-generated code you mention could be the actual styles the designer put into Figma!
"As always, it's not wise to blindly copy and paste machine-generated code, but this is super useful as a jumping off point to tweak and adjust."
I have used Figma just a little bit, but I've learnt that the application is built on HTML, CSS and JS. The desktop app is basically an Electron app that comes with a browser for rendering the UI etc... So, that machine-generated code you mention could be the actual styles the designer put into Figma!
For example: The team from builderIO is developing a tool to export files from Figma into frontend frameworks!
github.com/builderio/figma-html