Custom group icons!
Setup:
-- Create a group and in the icon field, put "icon icon-NAMEOFICON" and nameoficon can be anything, just as long as you remember it. Get the ID of the group and add this in the custom CSS part of your forum.
In the GROUPID part, replace that with the id of the group.
In the NAMEFORICON part, put in what you named your icon from in the icon field.
This is my first ever Flarum resource/extension/etc so please feel free to leave suggestions!
.icon.icon-NAMEFORICON {
display: inline-block;
background: url(IMAGEURL) center;
width: 100%;
height: 100%;
background-size: 100%;
color: red;
}
.Badge--group--GROUPID {
background: rgba(1, 1, 1, 0) !important;
}
.Badge.Badge--group--GROUPID {
box-shadow: none;
}