SheetXL - v1.0.7
    Preparing search index...

    Interface ColorSetSwatchProps

    interface ColorSetSwatchProps {
        colors: readonly string[];
        labels?: readonly string[];
        size?: "icon" | "medium";
        style?: CSSProperties;
        variant?: "chips" | "ramp";
    }
    Index
    colors: readonly string[]

    The colors, in order, as CSS.

    labels?: readonly string[]

    What each color is, in order: shown when it is pointed at.

    size?: "icon" | "medium"

    How large it is drawn: medium for a gallery, icon for a toolbar button, where it is as tall as the toolbar's other icons (--icon-size) so the toolbar keeps its height. Default medium.

    style?: CSSProperties
    variant?: "chips" | "ramp"

    How the colors are drawn. chips: each a rounded square of its own, overlapping the one before it, for colors that are different things. ramp: one rounded bar running from the first color to the last, for shades of one color. Default chips.