How to add font changes code in main.css and field.json.
Hi @MHussain8
You can add your custom font properties in theme-overrides.css file. For field.json file you have to find the type: font and in their you can give your custom font properties. I have added a screenshot for more reference.
Hope this will helps you out. Please mark it as Solution Accepted & Upvote to help other Community member.
Thanks!
Hello @MHussain8
To adjust the font, you first need to define a font field in the field.json file. In this file, you can specify the font family, size, and weight that you want to use. Once you have defined the font field, you need to pass the field path to the element in the themeoveride.css file where you want to use the font. The field path is the relative path to the font field in the field.json file.
I also attached the screenshots for the better understanding.


