Bard Text Color

Addon by Bogdan-Mihai

Bard Text Color Main Screenshot

Statamic Bard Text Color Extension

Statamic 3.0+ Total Downloads

Introduction

alt text

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.

Getting started

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

Custom colors

Using a config file

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.

Pulling colors from tailwind.config.js automatically

This part is still under development. I'm planning to release a package that automatically exports your config when building/rebuilding the assets.

Credits

Big thanks to: - 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.