styles directory within the codebase.
Within the styles directory, you will find two CSS files, fonts.css and global.css. We suggest not to add to these files, and instead create new CSS files and import them into the application. This helps reduce conflicts when pulling in changes that we’ve made to either of the existing CSS files.
Adding new stylesheets
Firstly, create the CSS file inside thestyles directory.
Then, open the pages/_app.tsx file, and you will see the following two lines:
These styles will apply to all pages and components in your application.
pages/_app.tsx.