how could i do it with scss? and is there a way to not make it so my all page change to those fonts unless i actually go there and use a font-family to change it? cause putting that into the body will change every text that is not styled with a font-family to that exact font
wait ok so if i change the .classname to .variable it doesn't aply globaly but only aplies it locally within the scope of the css that has that same variable. but still how could i change it to work with scss ? please
for some reasons, when i set the variable fonts in side the classNames, it makes the component's font the name of the last font in the className list, i don't know if you get me
I didn't like the way fonts are used in next js... why shall we need to use classname={`${roboto.variable}`}... it's annoying to use fonts in every elements... fonts should be kept of css globally so that we can use them throughout the site... don't know whether I am wrong or not... but it's to much....
thanks, the global font settings for google font was very useful! i struggled with that for hours
Happy it helped!
Was troubleshooting with next js fonts variable to use in CSS. You saved my time. Thanks a lot. Keep it up
Can't wait for another fullstack build but with typescript. I needed this too. Subbed. Thanks 👍
You’re welcome. Thanks!
Thank you for your great and comprehensive explanation.
You’re welcome
Saved my day! Thanks a ton!
You’re welcome!
Thank you for such an amazing video.
You’re welcome
I'll try this out. Thanks man
You’re welcome
Great content bro!
Thank you!
Very beneficial 👌👌👌
Happy to hear it!
Nice comprehensive tutorial. I f*ck with it 👍💯
Thanks!
thanks , you helped me :)
Happy to hear it
thanks for your great content
You’re welcome!
thanks you are life saver
You’re welcome!
So I got this to work, but then how do I style that element that I've given ? by targetting .dancingScript ?
what is the purpose of display: swap?
How did he get the static font with that extension
how could i do it with scss? and is there a way to not make it so my all page change to those fonts unless i actually go there and use a font-family to change it? cause putting that into the body will change every text that is not styled with a font-family to that exact font
wait ok so if i change the .classname to .variable it doesn't aply globaly but only aplies it locally within the scope of the css that has that same variable. but still how could i change it to work with scss ? please
for some reasons, when i set the variable fonts in side the classNames, it makes the component's font the name of the last font in the className list, i don't know if you get me
U look so much like Reece James man. what the heck!?
I didn't like the way fonts are used in next js... why shall we need to use classname={`${roboto.variable}`}... it's annoying to use fonts in every elements... fonts should be kept of css globally so that we can use them throughout the site... don't know whether I am wrong or not... but it's to much....