0.0.1 • Published 1 year ago

huetifuljs v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Huetiful color utilities

Color maps

The functions can consume Map objects to predict palettes or themes. These include

Colors from Material Design Gradients from uigradients ColorBrewer color scales Named colors from CSS

Gradients

A gradient generator function can produce custom gradients i.e light or dark gradients.

The function could take an array of colors and then return a Map of the light and dark variants of the colors passed

Hue shifted palettes

Inspired by George Francis' post on (link) this function takes a base color and returns an array of hue shifted colors.

Tonal palettes

Inspired by Material Design Guidelines this function can take a Map of key value pairs that specify the primary, secondary and or accent color and returns the tonal palettes per each key in an array

Theme generator

*** Still thinking 🤔