I messed up the font settings. i can't fix it

I didn’t like the font in the system. I made a lot of adjustments to achieve a better result. I made the fonts in the system as I wanted, but this time the font of the flatpak applications was very bad. Where do we set the font settings for flatpak applications?

Can you detail what adjustments you made to the fonts or what commands you ran? Thanks!