Skip to content

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

関数: customColorReferenceCurve() ​

customColorReferenceCurve(tokens?): ReferenceCurve

ベータ

The per-step lightness curve and chroma shape the custom スケールを導出するために使われます。計算は配布されている13のファミリーから行われます。JSONセーフなので、ビルドはそれを依存のない @pantoken/plugin-custom-theme-colors/scale エントリと組み合わせるブラウザへ送ることができます。

パラメーター ​

tokens? ​

読み取り専用 Token[]

プリミティブステップの色値を解決するためのオプショントークン配列またはマップ.

戻り値 ​

ReferenceCurve

1つの ResolvedDemo。