Add zinc badge colour

This commit is contained in:
brabli
2025-11-13 16:30:11 +00:00
parent 9c1c0c1ba1
commit bcd97f20a3

View File

@@ -30,6 +30,7 @@ enum BadgeColour
case PINK; case PINK;
case STRIPE; case STRIPE;
case YELLOW; case YELLOW;
case ZINC;
public function getPalette(): BadgePalette public function getPalette(): BadgePalette
{ {
@@ -56,8 +57,8 @@ enum BadgeColour
$this::PINK => new BadgePalette('text-pink-400', 'border-pink-400', 'bg-pink-400'), $this::PINK => new BadgePalette('text-pink-400', 'border-pink-400', 'bg-pink-400'),
$this::STRIPE => new BadgePalette('text-indigo-500', 'border-indigo-500', 'bg-indigo-500'), $this::STRIPE => new BadgePalette('text-indigo-500', 'border-indigo-500', 'bg-indigo-500'),
$this::YELLOW => new BadgePalette('text-yellow-500', 'border-yellow-500', 'bg-yellow-500'), $this::YELLOW => new BadgePalette('text-yellow-500', 'border-yellow-500', 'bg-yellow-500'),
$this::ZINC => new BadgePalette('text-zinc-500', 'border-zinc-500', 'bg-zinc-500'),
}; };
} }
} }