You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If both `count` and `colors` parameters are passed, but length of
`colors` is less than `count`, randomly generate extra colors to satisfy
the desired color count.
If both `count` and `colors` parameters are passed, but length of
`colors` is less than `count`, randomly generate extra colors to satisfy
the desired color count.
Specifically, only do this if both parameters are explicitly passed by the user, ie:
?colors=0b486b
-> only use Astronaut Blue, sincecount
was not explicitly passed?count=4&colors=0b486b
-> use Astronaut Blue and randomly generate three extra colorsI can do up a PR for this if it's something which makes sense to add :)
Love this project by the way, going to be using it in quite a few places.
The text was updated successfully, but these errors were encountered: