Closed bgrins closed 6 years ago
the new random has a full random, but the renaming and moving makes sense.
in the docs as
random({
luminosity: 'random',
hue: 'random',
});
If the new method supports truly random as an option, I think we should just drop legacyRandom
/ trueRandom
altogether.
The new
random
function generates attractive random colors.legacyRandom
generates actual random colors - so I thinktrueRandom
or something like that would be a better name for it. Alternatively, we could expose it as an option to therandom
function.It also seems like it'd be a better fit for the random module and not fromRatio.