Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.5.0 · function

fittingLineTone

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

Parameters

Parameter Type Description Default
backgrounds readonly string[] No additional description. —
hue number No additional description. —

Returns

LineTone | undefined

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