Works on Different background-color.
$(document).ready(function() {
$( "[.fas || .glyphicon]" ).each(function( index ) {
var color = $(this).parent().css("background-color");
$(this).css("-webkit-text-stroke","2px "+color)
});
});
Notice : choose one of .fas
or .glyphicon
.