From d778f27cdb47ca84dbd53be4e434bb520bea8fde Mon Sep 17 00:00:00 2001 From: dmytro Date: Fri, 26 Jun 2026 22:44:37 +0200 Subject: [PATCH] chore: remove geist mono --- fonts.css | 34 ++++++++++++++-------------------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/fonts.css b/fonts.css index 13b33ddac7..6f7a8ab434 100644 --- a/fonts.css +++ b/fonts.css @@ -1,15 +1,13 @@ /* Import the same fonts used on mintlify.com */ /* Inter Variable Font - matching the main site */ -@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'); - -/* Geist Mono for code - matching the main site */ -@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:ital,wght@0,100..900;1,100..900&display=swap'); +@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"); /* Override Mintlify's default font variables to match main site */ :root { - --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; - --font-geist-mono: 'Geist Mono', 'Menlo', 'Monaco', 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace; + --font-inter: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", + "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", + sans-serif; } /* Apply fonts to body and common elements with explicit OpenType features */ @@ -20,23 +18,11 @@ body { font-variant-ligatures: normal; } -/* Code elements */ -code, -pre, -.code, -.hljs { - font-family: var(--font-geist-mono); -} - /* Ensure proper font weight and style support */ .font-inter { font-family: var(--font-inter); } -.font-mono { - font-family: var(--font-geist-mono); -} - /* Fix for true italics instead of synthetic slanted text */ em, i, @@ -46,7 +32,15 @@ i, } /* Explicitly disable stylistic alternates that might cause character differences */ -h1, h2, h3, h4, h5, h6, p, span, div { +h1, +h2, +h3, +h4, +h5, +h6, +p, +span, +div { font-feature-settings: "ss01" 0, "ss02" 0, "ss03" 0; /* Disable common stylistic sets */ font-variant-alternates: normal; -} \ No newline at end of file +}