Skip to content

nickmangos/framer-colour-transition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Framer Colour Transition Module

A framer module that transitions the background colour of a layer.

Demo - http://share.framerjs.com/m1zbxn0d61nb/

Allows you to use the colourTransition() function. The function accepts 4 parameters.

  1. layer name
  2. colour (rgba)
  3. duration (in seconds)
  4. Frames per second (optional)

Example module.colourTransition(background, 'rgba(255, 136, 116, 1)', 1, 30)

This will transition a layer called "background" from its original rgba colour to the new colour with a 1 second duration.

The frames per second parameter is optional; it will default to 30fps

To use this module add module = require "colourTransition" to the head of your project.

About

A framer module that transitions the background colour of a layer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages