PHP code example of tfd / statamic-bard-text-styles
1. Go to this page and download the library: Download tfd/statamic-bard-text-styles library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tfd / statamic-bard-text-styles example snippets
return [
'text-copy-secondary' => [
'title' => 'text copy secondary',
'class' => 'text-copy-secondary',
'style' => 'font-size: 14px; color: grey;',
],
];
bash
$ php please vendor:publish --tag=bard-custom-text-styles