Skip to content

Commit

Permalink
Remove setting font weight in LarvatarTrait
Browse files Browse the repository at this point in the history
The line for setting the font weight for the avatar in the LarvatarTrait has been removed. This simplifies the code by not unnecessarily emphasizing the font weight.
  • Loading branch information
renfordt committed May 19, 2024
1 parent 39c93bb commit 7fef202
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Traits/LarvatarTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public function getAvatar(string $name, string $email = '', int $size = 100, Lar
$larvatar = new Larvatar($type, $name, $email);
$larvatar->setSize($size);
$larvatar->setFont('Roboto,sans-serif', '/font/Roboto-Bold.ttf');
$larvatar->avatar->setFontWeight('bold');
return $larvatar->getImageHTML($encoding);
}
}

0 comments on commit 7fef202

Please sign in to comment.