ScaleFn
import type { ScaleFn } from "@pitlane/theme";The accessor leaf for a token declared with s.scale(): callable
for steps, with the base itself as .token.
.token is what a projection re-roots and what raw resolves, so
it is load-bearing rather than decorative.
See
ScaleFn(steps): DimensionToken;The accessor leaf for a token declared with s.scale(): callable
for steps, with the base itself as .token.
.token is what a projection re-roots and what raw resolves, so
it is load-bearing rather than decorative.
Parameters
steps
number
Returns
See
Properties
token
readonly token: DimensionToken;