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....
Saved my day! Thanks a ton!
You’re welcome!
Thank you for such an amazing video.
You’re welcome
Was troubleshooting with next js fonts variable to use in CSS. You saved my time. Thanks a lot. Keep it up
Thank you for your great and comprehensive explanation.
You’re welcome
Great content bro!
Thank you!
thanks, the global font settings for google font was very useful! i struggled with that for hours
Happy it helped!
Can't wait for another fullstack build but with typescript. I needed this too. Subbed. Thanks 👍
You’re welcome. Thanks!
I'll try this out. Thanks man
You’re welcome
thanks , you helped me :)
Happy to hear it
Very beneficial 👌👌👌
Happy to hear it!
Nice comprehensive tutorial. I f*ck with it 👍💯
Thanks!
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 ?
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
what is the purpose of display: swap?
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....