Penpot plugins API
    Preparing search index...

    Interface ColorShapeInfoEntry

    Entry for the color shape additional information.

    interface ColorShapeInfoEntry {
        property: string;
        index?: number;
        shapeId: string;
    }
    Index

    Properties

    property: string

    Property that has the color (example: fill, stroke...)

    index?: number

    For properties that are indexes (such as fill) represent the index of the color inside that property.

    shapeId: string

    Identifier of the shape that contains the color