Skip to content

pantoken-root / plugins/pantoken/custom-theme-colors/src / customColorReferenceCurve

Fušla: customColorReferenceCurve() ​

customColorReferenceCurve(tokens?): ReferenceCurve

Behta

The per-step lightness curve and chroma shape the custom scale is derived against, computed from the 13 shipped families. JSON-safe, so a build can ship it to a browser that pairs it with the dependency-free @pantoken/plugin-custom-theme-colors/scale entry.

Parametera ​

tokens? ​

ruvvojuvvon Token[]

Valjáleaš token-massiivva dahje mapa primitiva steppa fargga válditvuođaid ráhkistusas gávdnojuvvon.

Gullii / Gávdnat ​

ReferenceCurve

Dat lea ResolvedDemo.