Remove EJ2 CSS File External Google Font

The materials.css file includes an external link to a Google font. Is there any way to disable this please? Our customers do not have internet access and this breaks security standards for a few customers as well.


1 Reply

RS Ragunath Sukumaran Syncfusion Team August 23, 2022 02:37 PM UTC

Hi Rosanne,


Greetings from Syncfusion support,


We are also providing a customized theme for all EJ2 themes. In which there won't be any google fonts, so you can use this theme in the offline mode. Please follow the below steps.


  1. Install the customized material theme using "npm i @syncfusion/ej2-material-theme" command.
  2. You can refer the theme by "import '@syncfusion/ej2-material-theme/styles/customized/material.css'" in the style.


Please get back to us if you have any queries.


Regards,

Ragunath S


Loader.
Up arrow icon