Disable Google Fonts in Theme

Hello there,

i'm using your tailwind-dark theme in my project and i realise that the theme use a google-font called "Inter" for its controls. By security policy we don't have permissions to use fonts.googleapis.com in Production. Actually in the current delevopment state there is no issues, but it will when we going in production state.

How can we change the current font to a local font.

We using the Blazor Themes Nuget Package in our Blazor Server App

Regards

Stefan


6 Replies

JL Joshna Lingala Uthama Reddy Lingala Syncfusion Team January 17, 2022 12:36 PM UTC

Hi Stefan, 
 
Greetings from Syncfusion Support. 
 
We have validated the reported query for “usage of the tailwind theme without google font reference” at our end. We have logged this requirement as a feature request to include tailwind theme without external references and logged feedback which can be tracked through the following link. This will be included in our upcoming Volume 4 Service Pack release which is expected to be rolled out in the end of January 2022. 
 
 
We appreciate your patience until then. 
 
Regards, 
Joshna L 
 



SL Stefan Limpert January 19, 2022 01:42 PM UTC

Hi Joshna,

sounds good. I'm looking forward to it.

Thanks and Regards

Stefan



VM Vengatesh Maniraj Syncfusion Team January 20, 2022 03:46 AM UTC

Hi Stefan,


Thanks for the update.

We will let you know once our Volume 4 service pack got released.


Regards,

Vengatesh 



VM Vengatesh Maniraj Syncfusion Team February 3, 2022 11:55 AM UTC

Hi Stefan,


We have provided the support to download the customized tailwind theme without external references. We have ensured and included the changes with the 2021 Volume 4 SP release.


You can try to download the themes now from the CRG site.


https://blazor.syncfusion.com/crg/


Regards,

Vengatesh




YH Yevheniy Hvozdikov March 26, 2024 11:20 AM UTC

Ok, so in the end the proposed solution is to generate each time the css through web instead of having an extra default packaged css just by changing the css file name, like:
"https://client.vision.arasaka.software/_content/Syncfusion.Blazor.Themes/tailwind-no3rdparty.css"

Right?
Isn't it bothering to remember such extra step every time? Can it be automated?



SK Subathra Kaliamoorthy Syncfusion Team March 27, 2024 01:53 PM UTC

Hi Stefan,


Based on your query, we would like to share you that you can use the customized tailwind and material theme from NuGet packages and CDN reference like mentioned below:

 

_Host.cshtml

 

<head>

 //…

@* Using Syncfusion Blazor Themes package *@

<link rel='nofollow' href="_content/Syncfusion.Blazor.Themes/customized/tailwind.css" rel="stylesheet" />

 

@* Using Syncfusion Blazor package *@

<link rel='nofollow' href="_content/Syncfusion.Blazor/styles/customized/tailwind.css" rel="stylesheet" />

 

@* Using CDN reference*@

@* CDN reference available from v24.1.41 for customized theme*@

<link rel='nofollow' href= https://cdn.syncfusion.com/blazor/25.1.37/styles/customized/tailwind.css rel="stylesheet" />

 

 //…

</head>


Regards,

Subathra K


Loader.
Up arrow icon