Skip to content

Commit 5ec5c95

Browse files
committed
Correct the fonts
1 parent 549b2cc commit 5ec5c95

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

src/@chakra-ui/gatsby-plugin/foundations/fonts.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/@chakra-ui/gatsby-plugin/foundations/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
import colors from "./colors"
2-
import fonts from "./fonts"
32
import shadows from "./shadows"
43

54
// Check the following link to see all the possible options:
65
// https://github.com/chakra-ui/chakra-ui/blob/main/packages/theme/src/foundations/index.ts
76
const foundations = {
87
colors,
9-
fonts,
108
shadows,
119
}
1210

src/@chakra-ui/gatsby-plugin/theme.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ const theme: ThemeOverride = {
3535
heading:
3636
"system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif",
3737
body: "system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif",
38+
monospace:
39+
"SFMono-Regular, Consolas, 'Roboto Mono', 'Droid Sans Mono', 'Liberation Mono', Menlo, Courier, monospace",
3840
},
3941
styles,
4042
...foundations,

0 commit comments

Comments
 (0)