Allow to set the pseudo-element used for the icon

Update the Sass mixin so that the pseudo-element used can be specified by the developer. This change ensures backwards compatibility by defaulting to `:before`.