Skip to content

Commit

Permalink
Custom style for each category.
Browse files Browse the repository at this point in the history
  • Loading branch information
nodeloc committed Aug 29, 2024
1 parent cdb025e commit 5e0d2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ConfigureTextFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function __invoke(Configurator $config)
$emoji->text_to_replace,
'
<span class="MyEmoji">
<img class="emoji" src="' . $path . '" alt="' . $emoji->title . '" />
<img class="emoji ' . $emoji->category . '" src="' . $path . '" alt="' . $emoji->title . '" />
</span>
'
);
Expand Down

0 comments on commit 5e0d2f9

Please sign in to comment.