Skip to content

Instantly share code, notes, and snippets.

@rootscript
Created November 1, 2017 00:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rootscript/12223734e3a34583608ae830774d7e7a to your computer and use it in GitHub Desktop.
Save rootscript/12223734e3a34583608ae830774d7e7a to your computer and use it in GitHub Desktop.
[Framer Snippets 01] useful bits & pieces #framer #snippets
Utils.insertCSS('@import url(http://fonts.googleapis.com/css?family=Pacifico)')
PacificoLayer = new Layer
html: "This is Pacifico"
style: { fontFamily: "Pacifico" }
Utils.insertCSS('@import url(http://fonts.googleapis.com/css?family=Rozha+One);')
RozhaOneLayer = new Layer
html: "This is Rozha One"
style: { fontFamily: "Rozha One" }
Utils.insertCSS('@import url(http://fonts.googleapis.com/css?family=Pacifico)', '@import url(http://fonts.googleapis.com/css?family=Rozha+One)')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment