<button onclick=neosubroutine.toggleFontSize(); id="togglebutton" type="button" class="btn btn-default btn-xs xlg">Change Font Size</button> <span id="fontStatus">Alert font size: <b>Standard</b></span>

Subroutine
toggleFontSize  no parameters

If [fontEnlarged] == false
BeginJs
  $("head").append('<style type="text/css"></style>');
  var newStyleElement = $("head").children(':last');
  newStyleElement.html('.swal2-popup{font-size: 1.5rem!important;}');
  document.getElementById("fontStatus").innerHTML = "Alert Font Size: <b>Large</b>";
EndJs
  SetVar [fontEnlarged] true
  SetVar [fontSize] "Large"
  sweetAlert "Font changed" "Font changed to [fontSize]" "success" "Ok" ""
Else
BeginJs
  $("head").append('<style type="text/css"></style>');
  var newStyleElement = $("head").children(':last');
  newStyleElement.html('.swal2-popup{font-size: 1rem!important;}');
  document.getElementById("fontStatus").innerHTML = "Alert Font Size: <b>Standard</b>";
  EndJs
  SetVar [fontEnlarged] false
  SetVar [fontSize] "Regular"
  sweetAlert "Font changed" "Font changed to [fontSize]" "success" "Ok" ""
EndIf