Skip to content

Commit 0639946

Browse files
committed
Add JetBrains Mono
1 parent 9832309 commit 0639946

3 files changed

Lines changed: 15 additions & 3 deletions

File tree

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
<link rel="preconnect" href="https://fonts.googleapis.com">
22
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
3-
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap" rel="stylesheet">
3+
<link
4+
href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"
5+
rel="stylesheet">
6+
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap"
7+
rel="stylesheet">

packages/react-components/src/index.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,5 @@
9494

9595
@theme inline {
9696
--font-family-sans: "Inter", system-ui, sans-serif;
97-
}
97+
--font-family-mono: "JetBrains Mono", monospace;
98+
}

packages/react-components/src/typography.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ body {
1414
line-height: var(--font-leading-5);
1515
}
1616

17+
.typo-code {
18+
font-size: var(--font-size-sm);
19+
font-family: var(--font-family-mono);
20+
font-weight: var(--font-weight-normal);
21+
line-height: var(--font-leading-5);
22+
}
23+
1724
.typo-label {
1825
font-size: var(--font-size-sm);
1926
font-family: var(--font-family-sans);
@@ -88,4 +95,4 @@ body {
8895
font-weight: var(--font-weight-semibold);
8996
line-height: var(--font-leading-none);
9097
letter-spacing: var(--font-tracking-tight);
91-
}
98+
}

0 commit comments

Comments
 (0)