Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

Releases: kitten/goethe

v1.1.1

26 Dec 17:28
Compare
Choose a tag to compare

Add missing setters:

  • setRed
  • setGreen
  • setBlue
  • setOpacity

v1.1.0

26 Dec 16:52
Compare
Choose a tag to compare

This release adds support for @mrmrs better color palette known as colors.css. It's supported by adding a new import file. Usage:

import Color from 'goethe/lib/with-better-colors';

const blue = Color('blue');

blue.toString('hex') // #0074D9

This release has a new optional dependency, which is of course colors.css.