Heyo! I guess this should rather be an improvement filed on Github, but I'll try it here:
I've been fiddling around with Steve Ruiz createClass for Framer Module and integrated the TextLayer Module which makes creating a class almost perfect, but everything apart from textlayers has a backgroundImage set, so you can't modify the looks of it.
As I've investigated the "layers.json" file I saw that the export from Sketch only gives you "artboard, text & group" as "kind"-properties.
Layers of the "text"-kind get all styles saved in the metadata, but groups just have a backgroundImage set. If those group-Layers had the styles stored in the metadata too, soon there wouldn't be many images (apart from layers that use an image as fill) needed in a sketch-import anymore...
Add the metadata for shape-layers the same way as for text-layers!
Imagine following Sketch-Import scenario:
- While import from Sketch, symbols get detached and for each SymbolMaster (where SymbolInstances are used) a class is being created
- Every SymbolInstance in the prototype is being replaced with a class-instance.
Looking at the pull-requests on GitHub gets me really excited for the near future of Framer! ;)