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

What is Framer? Join the Community
Return to index
Sigurd Tapio Mannsåker
Posted Jul 06 - Read on Facebook

Seems like I can't set Screen.backgroundColor to a Color since yesterday's update (just a hex string works fine). Is this a known bug?

5 Comments

Jonas Treub

Nice catch! If you choose Update Library from the File menu it should be working again.

Giles Perry

Jonas Treub How about Screen.backgroundColor = gradient?

Jonas Treub

That won't work. But you can do the following:
Framer.Device.screen.gradient = new Gradient

Giles Perry

Excellent! My thinking was that Screen was a shortcut for Framer.Device.screen. So I tried Screen.gradient = new Gradient. Thanks for the solution.

Jonas Treub

Only certain properties are surfaced on the Screen object so people won't break it too easily.

Read the entire post on Facebook