From a5b172304db6ec21035881f3a95b95d91f4761dc Mon Sep 17 00:00:00 2001 From: DrNayak2306 Date: Sat, 22 Nov 2025 20:28:01 +0530 Subject: [PATCH] style: use --code-font for code sections Replace hard-coded JetBrains Mono font stack with the custom chosen font in markdown-twoslash.scss to ensure consistent code font theming across the site. --- .../typescriptlang-org/src/templates/markdown-twoslash.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/typescriptlang-org/src/templates/markdown-twoslash.scss b/packages/typescriptlang-org/src/templates/markdown-twoslash.scss index 3bef2d8728e8..ded15593547c 100644 --- a/packages/typescriptlang-org/src/templates/markdown-twoslash.scss +++ b/packages/typescriptlang-org/src/templates/markdown-twoslash.scss @@ -128,7 +128,7 @@ pre .code-container:focus a { pre code { font-size: 15px; - font-family: "JetBrains Mono", Menlo, Monaco, Consolas, Courier New, monospace; + font-family: var(--code-font); white-space: pre; -webkit-overflow-scrolling: touch; }