[wp-trac] [WordPress Trac] #38263: Color picker: add a hue-only mode
WordPress Trac
noreply at wordpress.org
Sat Oct 8 22:30:53 UTC 2016
#38263: Color picker: add a hue-only mode
------------------------------+-------------------------
Reporter: celloexpressions | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.7
Component: Customize | Version: 3.5
Severity: normal | Keywords: needs-patch
Focuses: javascript |
------------------------------+-------------------------
Twenty Seventeen will make use of a hue picker for its custom colors. The
WP color picker, and the underlying Iris color picker need to be updated
to support a hue-only mode, and `WP_Customize_Color_Control` would be
updated to add a `mode` parameter that can be set to `hue`. When the hue
mode is in use, the picker should return the numerical hue (0-359) instead
of a hex color.
See https://github.com/WordPress/twentyseventeen/issues/116. @mattwiebe is
potentially interested in implementing this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38263>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list