From ced4650eafdea883389565562a59d3ca35cd5d9c Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 12 Nov 2025 01:07:25 +0000 Subject: [PATCH] Serve Inconsolata font locally instead of from Google Fonts Replace the Google Fonts CDN import with local @font-face declarations for Inconsolata Regular (400) and Bold (700) weights. This: - Improves privacy by removing external font requests - Reduces dependency on third-party CDN - Can improve page load performance - Uses existing local font files already in the repo The local Inconsolata font files were already present in the repository but unused. This change activates them. --- _sass/utils/_fonts.scss | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/_sass/utils/_fonts.scss b/_sass/utils/_fonts.scss index add854d..16f1433 100644 --- a/_sass/utils/_fonts.scss +++ b/_sass/utils/_fonts.scss @@ -312,7 +312,19 @@ /* Inconsolata */ -@import url('https://fonts.googleapis.com/css?family=Inconsolata'); +@font-face { + font-family: 'Inconsolata'; + font-style: normal; + font-weight: 400; + src: url('/assets/fonts/inconsolata/Inconsolata-Regular.ttf') format('truetype'); +} + +@font-face { + font-family: 'Inconsolata'; + font-style: normal; + font-weight: 700; + src: url('/assets/fonts/inconsolata/Inconsolata-Bold.ttf') format('truetype'); +} /* ET Book */