Running code to affect DOM to change font family of all text in expo web

SDK Version: 4.1.6
Platform: Web

I’m trying to run this code for my expo web project:
document.querySelectorAll('.css-text-901oao').forEach(e => = 'Nunito_400Regular')

I put it in a useEffect in my topmost component with a condition to only run it if the platform is Web. I need to change all text in the project to that font family. I cant make a new Text component and I cant add anything after building, it has to be automated. Does anyone have any ideas? Thank you so much