Enable opacity to Gutenberg Color Palette

Question

How to add opacity to gutenberg color palette like this:
enter image description here

<BaseControl
        className="editor-color-palette-control block-editor-color-palette-control"
    >
        <BaseLabel className="components-base-control__label">
            {label}
            {value && (
                <ColorIndicator colorValue={value} />
            )}
        </BaseLabel>
        <ColorPalette
            className="editor-color-palette-control__color-palette block-editor-color-palette-control__color-palette"
            value={value}
            onChange={onChange}
        />
    </BaseControl>
0
pdutie94 2 years 2019-10-28T10:45:38-05:00 0 Answers 112 views 0

Leave an answer

Browse
Browse