[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)




/wp-content/themes/twentytwenty/assets/js/ -> customize-controls.js (summary)

Customizer enhancements for a better user experience. Contains extra logic for our Customizer controls & settings.

File Size: 90 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function


Functions that are not part of a class:

twentyTwentySetAccessibleColorsValue( context, backgroundColor, accentHue )   X-Ref
Updates the value of the "accent_accessible_colors" setting.

param: {string} context The area for which we want to get colors. Can be for example "content", "header" etc.
param: {string} backgroundColor The background color (HEX value).
param: {number} accentHue Numeric representation of the selected hue (0 - 359).
return: {void}

Generated: Sat Nov 23 20:47:33 2019 Cross-referenced by PHPXref 0.7