Kirby-Color-Picker

A simple color picker field for the Kirby CMS

Color Picker Field for Kirby CMS

License

The master branch now supports both Kirby 2 and 2.2 (Thanks to @bastianallgeier)

A simple color picker field for Kirby CMS which makes use of the jQuery MiniColors plugin.

color-picker

From the root of your kirby install, cd into site/fields/ and run:

git clone [email protected]:ian-cox/Kirby-Color-Picker.git color

to add these files into a new color field folder.

Alternatively you can download the zip file, unzip it’s contents into site/fields/color.

Then in your blueprint you can use the new color field.

fields:
  bgcolor:
    label: Background Color
    type:  color
    default: 095af0

Updates

v1.2 Now working in both Kirby 2 and 2.2

v1.1 Default hex colors can now be specified in the blueprint and should be written without the #.


Credits

Thanks to @claviska for his great MiniColors plugin. @ptouch718 for his masterful JS debugging. @dionysiusmarquis and @bastianallgeier for helping port it to kirby 2.2

Related Repositories

Kirby-Color-Picker

Kirby-Color-Picker

A simple color picker field for the Kirby CMS ...

kirby-color-list

kirby-color-list

A color picker in the form of a list of colors for Kirby ...

Kirby-Color-Picker

Kirby-Color-Picker

A simple color picker field for the Kirby CMS ...


Top Contributors

ian-cox bastianallgeier julien-gargot Boycce rasteiner samnabi