Next.js fonts in css stylesheet
I am starting a new project with NextJS (version 14.2.13). I have imported two fonts from google fonts using the following code: ./app/fonts.ts import { Montserrat, Open_Sans } from 'next/font/google' export const montserrat = Montserrat({ subsets: ['latin'], variable: '--font-montserrat', display: 'swap', }); export const open_sans = Open_Sans({ subsets: ['latin'], variable: '--font-open-sans', display: 'swap', }); And