Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.01 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.01 KB

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.