iink-ts - v4.0.0
    Preparing search index...

    Type Alias TMenuStyleConfig

    Configuration to enable/disable each style element individually

    type TMenuStyleConfig = {
        colors?: string[];
        fillColor?: boolean;
        fontSize?: boolean;
        fontSizeList?: { label: string; value: "auto" | number }[];
        fontWeight?: boolean;
        fontWeightList?: { label: string; value: "auto" | "normal" | "bold" }[];
        opacity?: boolean;
        strokeColor?: boolean;
        thickness?: boolean;
        thicknessList?: { label: string; value: number }[];
    }
    Index
    colors?: string[]

    Custom color palette

    fillColor?: boolean

    Enable/disable fill color picker

    fontSize?: boolean

    Enable/disable font size picker

    fontSizeList?: { label: string; value: "auto" | number }[]

    Custom font size list

    fontWeight?: boolean

    Enable/disable font weight picker

    fontWeightList?: { label: string; value: "auto" | "normal" | "bold" }[]

    Custom font weight list

    opacity?: boolean

    Enable/disable opacity picker

    strokeColor?: boolean

    Enable/disable stroke color picker

    thickness?: boolean

    Enable/disable stroke thickness picker

    thicknessList?: { label: string; value: number }[]

    Custom thickness list