The Problem with Google Fonts (and how to fix it)

  Рет қаралды 9,625

Coding in Public

Coding in Public

Жыл бұрын

It’s easy to just reach for Google fonts, but there are speed and security reasons to write your own custom font-face declaration and it couldn't be easier!
🔗 Key Links 🔗
- Github Repo: github.com/coding-in-public/f...
- MDN Docs: developer.mozilla.org/en-US/d...
- Font I used: www.fontshare.com/fonts/switzer
---------------------------------------
🎨 VSCode Theming
- Font: Cascadia Code: github.com/microsoft/cascadia...
- Theme: marketplace.visualstudio.com/...
- Icons: marketplace.visualstudio.com/...
---------------------------------------
🌐 Connect With Me 🌐
- Website: codinginpublic.dev
- Blog: chrispennington.blog
- Twitter: / cpenned
- Patreon: / coding_in_public
- Buy Me a Coffee: www.buymeacoffee.com/chrispen...

Пікірлер: 15
@CodinginPublic
@CodinginPublic Жыл бұрын
In case it wasn’t clear, if you download a Google font family, it removes both the speed and legal challenges.
@dylanzalman8452
@dylanzalman8452 Жыл бұрын
Thanks for this tutorial. And yes, i would be interested in a video about variable fonts.
@CodinginPublic
@CodinginPublic Жыл бұрын
Noted! I'll get on it!
@aley5931
@aley5931 Жыл бұрын
@@CodinginPublic Please do and thanks for all the great content. Much appreciated.
@samnj4
@samnj4 Жыл бұрын
I have learned something new. Thanks for the tutorial.
@CodinginPublic
@CodinginPublic Жыл бұрын
You’re welcome! Glad it was a help!
@RubenPenaP
@RubenPenaP Жыл бұрын
I'll be watting for the Variable Fonts video
@CodinginPublic
@CodinginPublic Жыл бұрын
Noted. I'll get on it. Thanks!
@AhmedRaza-lv3id
@AhmedRaza-lv3id 4 ай бұрын
Im using react and when i run npm run build it doesnt include the fonts i used font share😢
@TheDzejko
@TheDzejko Жыл бұрын
Hey, I'd love to see how to set it up using variables
@CodinginPublic
@CodinginPublic Жыл бұрын
Noted. I'll get on it. Thanks!
@arjunhanwate4873
@arjunhanwate4873 10 ай бұрын
Thanku❤
@CodinginPublic
@CodinginPublic 10 ай бұрын
You’re welcome!
@tiscover
@tiscover Жыл бұрын
@fontsource is a fine solution as well
@CodinginPublic
@CodinginPublic Жыл бұрын
Yes! Definitely. It downloads the local fonts, I believe and does a lot of this heavy lifting for you.
Learn CSS fonts in 7 minutes! 🔤
7:21
Bro Code
Рет қаралды 16 М.
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,1 МЛН
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 20 МЛН
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 30 МЛН
When should you use CSS Grid?
16:17
Coding in Public
Рет қаралды 1,3 М.
What Happened To Google Search?
14:05
Enrico Tartarotti
Рет қаралды 3,1 МЛН
The problems with viewport units
13:23
Kevin Powell
Рет қаралды 355 М.
Industrial-scale Web Scraping with AI & Proxy Networks
6:17
Beyond Fireship
Рет қаралды 704 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 918 М.
Getting started with Variable fonts on the web
21:44
Kevin Powell
Рет қаралды 42 М.
3 Ways to Add Custom Google Fonts in Next.js 14
14:44
Cand Dev
Рет қаралды 9 М.
How to Properly Layout A Website (For Beginners)
14:50
The Website Architect
Рет қаралды 528 М.
Этот Малыш Очень Умён 😂
0:20
Глеб Рандалайнен
Рет қаралды 2,4 МЛН
Unboxing MEGATRON 40th Anniversary Limited Edition Robot by Robosen
1:00
You Can CHANGE Your Tesla Car’s Color?! #asher #shorts
0:36
Asher Lara
Рет қаралды 24 МЛН
🎂They Ate Mom's Cake And Got Away With It😲🤪
0:49
BorisKateFamily
Рет қаралды 15 МЛН