xndbogdan/statamic-bard-text-color

Statamic Bard Text Color

Installs: 88 797

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 8

Open Issues: 1

Language:Vue

Type:statamic-addon

v4.0.0 2023-06-12 09:36 UTC

This package is auto-updated.

Last update: 2024-03-26 14:39:50 UTC


README

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:

  • Craig Anderson for participating in active development.
  • Lars Heidkämper for participating in active development.
  • Bernhard Berger 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.