Skip to content

Commit 77011c4

Browse files
committed
docs(theme): add inline code highlighting
1 parent 42e2840 commit 77011c4

File tree

1 file changed

+5
-2
lines changed
  • example/src/gatsby-plugin-theme-ui

1 file changed

+5
-2
lines changed

example/src/gatsby-plugin-theme-ui/theme.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,13 @@ export const theme = {
9090
overflow: 'auto'
9191
},
9292
code: {
93-
fontFamily: 'monospace'
93+
fontFamily: 'monospace',
94+
fontSize: 1
9495
},
9596
inlineCode: {
96-
fontFamily: 'monospace'
97+
fontFamily: 'monospace',
98+
color: 'secondary',
99+
bg: 'muted'
97100
},
98101
table: {
99102
width: '100%',

0 commit comments

Comments
 (0)