Skip to content

Releases: karolsw3/gradientify

Completely new version

22 Dec 19:20
Compare
Choose a tag to compare

I've completely rewritten this library using TypeScript, so previous versions don't have anything to do with this one.

v.3.2.0

14 Mar 18:21
Compare
Choose a tag to compare

In this release some function names have been changed to more relative ones, and function of getting presets has been assigned to the Gradientify element to make it possible to call it outside the library scope. This function now supports callback, so when the presets are loaded - the callback is called.
Thanks to that we are sure that the presets are loaded only once, and we can call function to load our gradients from the presets when the callback has been fired.

v.3.1.0

11 Mar 13:45
Compare
Choose a tag to compare

In this release function .gradientifize has been splitted up into two functions: .load and .create .
Load function is responsible for loading gradients from presets.JSON, and create function is responsible for creating custom animated gradients.
Also the Babel compiler has been included to the library to compile ES6 code to classic javascript.
Thanks for that the library will work on old browsers, which are not supporting ES6 syntax.

v.3.0.0

10 Mar 09:22
2563808
Compare
Choose a tag to compare

The whole library has been simplified by reducing it's code and changing method to add new animated gradients.
To initialize the library you have to assign it to a variable:

var gf = Gradientify()

And then just use its methods to make new animated backgrounds:

gf.gradientifize(document.body, [
  'linear-gradient(60deg, rgb(255, 91, 91), rgb(0, 0, 255))',
  'linear-gradient(10deg, rgb(180, 132, 203), rgb(255, 0, 155))',
  'radial-gradient(at center center, rgb(75, 35, 148), rgb(0, 71, 57))',
  'linear-gradient(130deg, rgb(235, 23, 223), rgb(25, 89, 135), rgb(15, 189, 176))'
], 2600)

v.2.0.0

04 Mar 20:28
Compare
Choose a tag to compare

This release wraps the main function inside the IIFE function (which is assigned to the gradientify variable), so it's easier to manage functions and variables inside the library.

Basic release

28 Feb 16:51
Compare
Choose a tag to compare

This release includes basic function for creating own background gradient animations on a specified element.