Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

EN

@shumoku/core · 0.5.0 · function

fittingLineTone

ソース

APIの説明は英語のcanonical sourceを表示しています。

The tone that tells the most lines apart over these backgrounds: of the lightnesses at which every hue is seen, the one that leaves the most chroma. For writing a theme's `lineTone`.

fittingLineTone(backgrounds: readonly string[], hue: number): LineTone | undefined

パラメーター

名前 型 説明 既定値
backgrounds readonly string[] 追加説明はありません。 —
hue number 追加説明はありません。 —

戻り値

LineTone | undefined

libs/@shumoku/core/src/libs/@shumoku/core/src/themes/tone.ts:87