From ece47a597202500809ca36c747d3633072b2886c Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 25 Mar 2026 18:54:58 +0000 Subject: [PATCH] Add Inter and JetBrains Mono fonts for improved documentation typography Replace default system font stack with Inter (body) and JetBrains Mono (code) to establish consistent brand identity across platforms. Inter provides excellent screen readability with tabular numbers suited for budget/cost documentation. JetBrains Mono improves code block legibility with disambiguated characters. --- .vitepress/theme/custom.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.vitepress/theme/custom.css b/.vitepress/theme/custom.css index 006bc45..3d9685d 100644 --- a/.vitepress/theme/custom.css +++ b/.vitepress/theme/custom.css @@ -1,3 +1,18 @@ +/* ══ Typography ══ */ + +/* Import Inter (body) and JetBrains Mono (code) */ +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap'); + +/* Override VitePress default font stacks */ +:root { + --vp-font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', + Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', + 'Helvetica Neue', sans-serif; + --vp-font-family-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', + Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; +} + /* ══ Brand & Theme Variables ══ */ /* Fix H1 DOM concatenation — VitePress renders name and text as adjacent