import fonts from angular.json file 1

import fonts from angular.json file

@import url('https://fonts.googleapis.com/css2?family=Oxygen&display=swap');

Here is what the above code is Doing:
1. We’re importing the Google Fonts stylesheet.
2. We’re setting the font-family of the body to the Oxygen font.
3. We’re setting the font-family of the h1 to the Oxygen font.
4. We’re setting the font-family of the h2 to the Oxygen font.
5. We’re setting the font-family of the h3 to the Oxygen font.
6. We’re setting the font-family of the h4 to the Oxygen font.
7. We’re setting the font-family of the h5 to the Oxygen font.
8. We’re setting the font-family of the h6 to the Oxygen font.

Similar Posts