UNPKG

@jupyter-notebook/web-components

Version:

A component library for building extensions in Jupyter frontends.

20 lines (19 loc) 1.15 kB
import { InteractiveSwatchSet, Palette, Swatch, SwatchRGB } from '@microsoft/fast-components'; export { InteractiveSwatchSet, isDark, Palette, PaletteRGB, Recipe, StandardLuminance, Swatch, SwatchRGB } from '@microsoft/fast-components'; export declare const white: SwatchRGB; export declare const black: SwatchRGB; export declare const baseErrorColor: import("@microsoft/fast-colors").ColorRGBA64; export declare enum ContrastTarget { normal = 4.5, large = 7 } export declare function errorFillAlgorithm(palette: Palette, neutralPalette: Palette, reference: Swatch, hoverDelta: number, activeDelta: number, focusDelta: number, neutralFillRestDelta: number, neutralFillHoverDelta: number, neutralFillActiveDelta: number): InteractiveSwatchSet; /** * @internal */ export declare function errorForegroundAlgorithm(palette: Palette, reference: Swatch, contrastTarget: number, restDelta: number, hoverDelta: number, activeDelta: number, focusDelta: number): InteractiveSwatchSet; /** * @internal */ export declare function foregroundOnErrorAlgorithm(reference: Swatch, contrastTarget: number): Swatch; export declare const errorBase: SwatchRGB;