background(), $variant->hoverBackground(), ]); } public function fgColor(string $variant): string { $variant = Variant::fromString($variant); return implode(' ', [ $variant->foreground(), $variant->hoverForeground(), ]); } public function allColors(string $variant): string { return "{$this->bgColor($variant)} {$this->fgColor($variant)}"; } }