Download the PHP package ndx/statamic-bard-color-picker without Composer
On this page you can find all versions of the php package ndx/statamic-bard-color-picker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ndx/statamic-bard-color-picker
More information about ndx/statamic-bard-color-picker
Files in ndx/statamic-bard-color-picker
Package statamic-bard-color-picker
Short Description Text color picker with swatches for Bard fields
License proprietary
Informations about the package statamic-bard-color-picker
Statamic Bard Text Color
Text color picker with swatches for Bard fields.
Features
- Set text color in Bard fields
- Predefined color swatches
- Beautiful and easy to use color panel
- Dark Mode Support
Installation
You can search for this addon in the Tools > Addons
section of the Statamic control panel and click install or require it using Composer:
How to use
Open the blueprint or fieldset that contains your Bard field, open the settings of that field and activate the text color button.
Configuration
If you want to define swatches or disable the color picker, make sure that the configuration file is published by entering the following command:
Have a look at the configuration file for details.
Migrate from 1.x
Instead of the @simonwep/pickr package, this addon uses a native HTML color picker since v2.0. This causes some breaking changes.
- Statamic 5 is required
- Colors are always saved in HEX format
- The configuration file has changed completely
After updating from v1.x to v2.0 we recommend to republish the addon configuration, overwrite old settings and define new ones:
Alternatively, you could rename the recommended
item to swatches
in your configuration.
About us
We develop digital solutions for all kinds of disciplines. From the idea and concepts to implementation and operation.
Visit our website: new-data-services.de