@pbroom/color-kit/driverColor input
ResolveColorInputStepsOptions
Step overrides for resolveColorInputSteps. A missing, zero, negative or non-finite value falls back to the channel default.
import type { ResolveColorInputStepsOptions } from '@pbroom/color-kit/driver';color-input.ts:93interface ResolveColorInputStepsOptions {
step?: number;
fineStep?: number;
coarseStep?: number;
pageStep?: number;
}Properties
- step?
numberdefaultper channel: OKLCH `l` 0.01, `c` 0.005, hue 1, RGB 1, HSL `s`/`l` 1, alpha 0.01 - Arrow-key and scrub step.
- fineStep?
numberdefaultper channel: OKLCH `l`/`c` 0.001, hue 0.1, RGB 0.1, HSL `s`/`l` 0.1, alpha 0.001 - Fine step.
- coarseStep?
numberdefaultper channel: OKLCH `l` 0.1, `c` 0.05, hue 10, RGB 10, HSL `s`/`l` 10, alpha 0.1 - Coarse step.
- pageStep?
numberdefaultper channel: OKLCH `l` 0.1, `c` 0.05, hue 45, RGB 25, HSL `s`/`l` 10, alpha 0.1 - Page Up / Page Down step.