@jupyter/web-components
Version:
A component library for building extensions in Jupyter frontends.
15 lines (14 loc) • 617 B
TypeScript
import { Palette } from '../palette.js';
import { InteractiveSwatchSet } from '../recipe.js';
import { Swatch } from '../swatch.js';
/**
*
* @param palette - The palette to operate on
* @param reference - The reference color to calculate a color for
* @param delta - The offset from the reference's location
* @param threshold - Determines if a lighter or darker color than the reference will be picked.
* @returns
*
* @internal
*/
export declare function neutralFill(palette: Palette, reference: Swatch, restDelta: number, hoverDelta: number, activeDelta: number, focusDelta: number): InteractiveSwatchSet;