This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Jacopo Moretto
Posted May 05 - Read on Facebook

Hey all! I imported screens from my a Sketch file where I removed any background colour from export, but I see it in FramerStudio anyway. Do you know why? There is a way to avoid me to modify manually layer.json? Thank you!


Jonhenry Righter

Have you tried overriding the background color, just to be sure?

Screen.backgroundColor = "white"

Jacopo Moretto

Thank you, I ended with this solution too. It's not as easy as importing directly from sketch 😊

Stephen Crowley

Hey Jacopo - there was a change in the latest Framer update that adds white to the background of each artboard. You can take it off all artboards like this: sketch = Framer.Importer.load("imported/[email protected]")
for name, layer of sketch when layer._info.kind is "artboard"
layer.backgroundColor = null

Read the entire post on Facebook