Repository navigation
2.3.0
Improvements
Tag Colors
Tags now support an optional color field (hex format like #FF5733) for visual labeling, similar to GitHub labels.
You can use it in forms:
// In tag management forms
echo $this->Tag->colorControl();And display colored tags in your templates:
// Simple colored tags
echo $this->Tag->tag($tag);
// Tags with links
echo $this->Tag->tags($entity->tags, ['url' => '/tags/view']);
// Bootstrap badges
echo $this->Tag->badges($entity->tags);
// Bootstrap pills
echo $this->Tag->pills($entity->tags);There are also several Tag helper methods available now, as well as ColorUtility for color and contrast handling.