After I import my sketch file into FramerJS
i dont know how to replace my sketch file background color block to the layer which defined in FramerJS ( that's, bg = new layer .... )
If you have
sketch = Framer.Importer.load("[email protected]
You can just use
sketch.layerName.backgroundColor = 'white'
where layerName is the name of the layer you've imported from sketch
Niels van Hoorn, thanks reply, but in my case, i want to replace the sketch file background layer to .... (http://share.framerjs.com/8t6m91ab9p23/), how can i do that ????
u can see i want to change to use dynamic gradient layer which defined in Framer, i have no idea how to do that ...
You can set the backgroundColor to null to unset it, is that what you mean? http://share.framerjs.com/ewyva09dsigi/