Add group hover

This commit is contained in:
Brabli committed 2022-08-29 20:12:55 +01:00
1 parent 78a321137e
commit 7a3366c2da
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ final class IconExtension extends AbstractExtension
if (null !== $options['hover']) {
$hoverPallete = $this->getPallete($options['hover']);
$colourClasses .= " hover:{$hoverPallete['stroke']} hover:{$hoverPallete['fill']}";
$colourClasses .= " hover:{$hoverPallete['stroke']} hover:{$hoverPallete['fill']} group-hover:{$hoverPallete['stroke']} group-hover:{$hoverPallete['fill']}";
}
$xml = new \SimpleXMLElement($cleanSvgMarkup);