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

What is Framer? Join the Community
Return to index
Blaine Billingsley
Posted Aug 15 - Read on Facebook

I'm trying to create a module that sets up some project defaults like font, etc. If I add these lines to

Utils.deviceFont = -> return 'georgia'
Utils.insertCSS("body {font-family:georgia")

They work great, but inside a module, they don't. How can I get these lines to affect my Framer project if they're included in a module instead of in the project itself?


Emil Widlund

Are you importing the module in your code?

Read the entire post on Facebook