|
|
@ -12,7 +12,7 @@ export const Code: FC<Props> = ({ code }) => { |
|
|
|
( |
|
|
|
( |
|
|
|
<Text |
|
|
|
<Text |
|
|
|
as='span' |
|
|
|
as='span' |
|
|
|
background='gray.200' |
|
|
|
background='code-bg' |
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
fontWeight={400} |
|
|
|
fontWeight={400} |
|
|
|
fontSize='md' |
|
|
|
fontSize='md' |
|
|
@ -28,9 +28,9 @@ export const Code: FC<Props> = ({ code }) => { |
|
|
|
( |
|
|
|
( |
|
|
|
<Stack> |
|
|
|
<Stack> |
|
|
|
<ChakraCode |
|
|
|
<ChakraCode |
|
|
|
overflow="scroll" |
|
|
|
overflow='hidden' |
|
|
|
p={6} |
|
|
|
p={6} |
|
|
|
background='gray.800' |
|
|
|
background='code-bg-contrast' |
|
|
|
color='green.50' |
|
|
|
color='green.50' |
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
fontWeight={400} |
|
|
|
fontWeight={400} |
|
|
|