From 01e2df44ed98d759eadbfab71a2f79b18f0b7171 Mon Sep 17 00:00:00 2001 From: Amit Haridas Date: Tue, 30 Jun 2026 23:23:12 +0530 Subject: [PATCH] feat(monospace): register Fira Code @font-face in renderer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two weights: 400 (Regular) and 700 (Bold). TTF only — woff2 is generated lazily if profile reports it; Fira ships in TTF upstream. --- src/fonts.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/fonts.css b/src/fonts.css index 311a2da..49deeaf 100644 --- a/src/fonts.css +++ b/src/fonts.css @@ -73,3 +73,20 @@ font-display: swap; src: url('../assets/fonts/JetBrainsMono-Bold.woff2') format('woff2'); } + +/* Fira Code Font Family - bundled with the app */ +@font-face { + font-family: 'Fira Code'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url('../assets/fonts/FiraCode-Regular.ttf') format('truetype'); +} + +@font-face { + font-family: 'Fira Code'; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url('../assets/fonts/FiraCode-Bold.ttf') format('truetype'); +}