Changing fonts

Hi. I'm using only visual studio to develop an application.
I want to use the "poppins" font. I know how to import to blazor normally, but. the "RadzenText" is not inheriting the font. Can someone give me a direction?
This is how my app.razor looks like:


I'm using .NET8

Hi @lmanes,

You'd need to update the RadzenText css variable for font-family. Adding this to app.css should set the desired font:

:root {
    --rz-text-font-family: "Poppins", serif;
}
1 Like

Thank you so much! It worked!
Regarding fonts, but not specifically the family, but the color.
I tried changing --rz-primary color but the texts are black. What is the css property that I should change to change the colors of the texts?

You can use the browser's devtools to inspect the elements and find the corresponding css variables to update:

1 Like

thank you! didnt think of that!