[wp-trac] [WordPress Trac] #38093: WP_Customize_Color_Control - Color Transparency
WordPress Trac
noreply at wordpress.org
Thu Mar 27 13:53:31 UTC 2025
#38093: WP_Customize_Color_Control - Color Transparency
-------------------------+-----------------------------
Reporter: mukesh27 | Owner: (none)
Type: enhancement | Status: reopened
Priority: normal | Milestone:
Component: Customize | Version: 3.5
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses: ui, javascript
-------------------------+-----------------------------
Comment (by vyasnaman):
The Themes team introduced `color-alpha` package:
https://make.wordpress.org/themes/2019/12/30/new-color-alpha-package-
available/
This package uses `react-color` and adds a new control `ColorAlpha`
extending `WP_Customize_Color_Control`.
We can add this to the core itself.
@aristath developed the package and can help us to integrate it into the
core.
To keep the backward compatibility, we can convert the hex values to RGB
values and keep the default opacity (alpha value) equals 1.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38093#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list