Collection
Functionsβ
distribute()β
distribute<
Iterable
,Options
>(collection
,options
?):Collection
Distributes the specified factor
of a color in the collection with the specified extremum
(i.e the color with the smallest/largest hue
angle or chroma
value) to all color tokens in the collection.
Type Parametersβ
β’ Iterable extends Collection
β’ Options extends DistributionOptions
Parametersβ
β’ collection: Iterable
The property you want to distribute to the colors in the collection for example hue | luminance
β’ options?: Options
Optional overrides to change the default configursation