Add a new ACF field type: "Color Palette" which allows you to use the color picker with a defined color palette only.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets Fix typo May 17, 2018
fields Fix the use of the assets' minified versions May 18, 2018
lang Initial commit Mar 20, 2018
.editorconfig Initial commit Mar 20, 2018
.gitignore Initial commit Mar 20, 2018
README.md Initial commit Mar 20, 2018
acf-color-palette.php Change the text domain loading strategy May 18, 2018
gulpfile.babel.js Initial commit Mar 20, 2018
package.json Initial commit Mar 20, 2018
readme.txt Initial commit Mar 20, 2018

README.md

ACF Color Palette Field

Welcome to the Advanced Custom Fields Color Palette repository on Github.

Description

Add a new ACF field type: "Color Palette" which allows you to use the color picker with a defined color palette only.

This field enjoys kallookoo/wp-color-picker-alpha which overwrites Automattic Iris to enable Alpha Channel in wpColorPicker and so let you choose more color variations.

You are able to define your palette into the field's settings with different notations like below:

#f00 : Red
rgb(0,255,0) : Green
rgba(0, 0, 255, 1) : Blue
rgba(80, 180, 255, .4) : Light Blue
rgba(255, 180, 80, .7) : Light Orange
grey : Grey
#800080 : Purple

ACF Color Palette Field

This plugin works only with the ACF PRO (version 5.5.0 or higher).

Changelog

1.0.0 (March 20, 2018)

  • Initial Release.