Skip to content

Add a feature to set alpha value to Highlight #67453

@shimotmk

Description

@shimotmk

What problem does this address?

I want to be able to add alpha value to inline text.

I couldn't find any discussion on this not being implemented, is there anywhere?

Image

What is your proposed solution?

I think it can be implemented just by adding enableAlpha to ColorPalette.

<ColorPalette
value={ activeColors[ property ] }
onChange={ ( color ) => {
onChange(
setColors( value, name, colors, { [ property ]: color } )
);
} }
/>

If there are no problems, I'll create a pull request. What do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions