If you need this for responsive issues you can simply change font size of .swal2-icon class.
It is working fine because width and height attributes of an icon are setted by em unit.
.swal2-icon {
font-size: 0.75rem !important;
@media screen and (width <= 768px) {
font-size: 0.7rem !important;
}
}