Accidentally changed font-size in terminal to 3025

I accidentally changed the font-size but it doesn’t load anymore since it runs out of memory, how do I reset the font-size?
EDIT: This is the error that it gives:
Uncaught RangeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': Out of memory at ImageData creation

Clear your cookies and localStorage. It would flush all the values connected to the terminal’s settings


I checked the cookies and local storage but couldn’t find the terminal settings so I removed them and it fixed it, thanks for the help!