This is a statamic bard plugin that lets you change text color! It allows you to use the default tailwind palette, but you can also add your own. At the moment it's still under development, so please report any bugs that you encounter. New feature suggestions are welcomed too.
If you only wish to use the default tailwind palette, then it's as easy as running the composer require command.
composer require xndbogdan/statamic-bard-text-color
The simplest way of adding new colors to this plugin is by adding a bard-custom-colors.php
config file to your project.
Please check this file if you need an example.
This part is still under development. I'm planning to release a package that automatically exports your config when building/rebuilding the assets.
Big thanks to:
- Craig Anderson for participating in active development.
- Hesesses for suggesting a custom color implementation.
- ncla for showing a working example in a project implementation.
- Jelle Roorda from the Statamic discord, for providing resources & advice on how to sucessfuly implement the feature.