but I guess it’s not the best way to do it.
I have installed theme as docs suggest, but I don’t know if I have to do a child of it to avoid future upgrade problems and be able to modify funtions.php.
The best way to do this would be through using a child theme. There is a section in the docs that describes how to add a custom font and you can do a similar thing to remove Inter. For example, if you want to replace Inter with Open Sans:
add_action('wp_enqueue_scripts', 'my_custom_fonts');
function my_custom_fonts()
{
// remove inter
wp_dequeue_style('gust-inter')
// register open sans
wp_enqueue_style('open-sans', 'https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
}
And then in the tailwind config, replace Inter with the new Open Sans: