Skip to content

Commit 5daeca1

Browse files
authored
style: use --code-font for code sections (#3461)
1 parent 5b2c0a7 commit 5daeca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/typescriptlang-org/src/templates/markdown-twoslash.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ pre .code-container:focus a {
128128

129129
pre code {
130130
font-size: 15px;
131-
font-family: "JetBrains Mono", Menlo, Monaco, Consolas, Courier New, monospace;
131+
font-family: var(--code-font);
132132
white-space: pre;
133133
-webkit-overflow-scrolling: touch;
134134
}

0 commit comments

Comments
 (0)