|
|
@ -1,10 +1,5 @@ |
|
|
|
import { FC } from 'react'; |
|
|
|
import { FC } from 'react'; |
|
|
|
|
|
|
|
|
|
|
|
import { |
|
|
|
|
|
|
|
BORDER_RADIUS, |
|
|
|
|
|
|
|
MONOSPACE_BACKGROUND, |
|
|
|
|
|
|
|
} from '../../lib/consts/DEFAULT_THEME'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import BodyText, { BodyTextProps } from './BodyText'; |
|
|
|
import BodyText, { BodyTextProps } from './BodyText'; |
|
|
|
|
|
|
|
|
|
|
|
const Monospace: FC<BodyTextProps> = ({ sx, ...bodyTextRestProps }) => ( |
|
|
|
const Monospace: FC<BodyTextProps> = ({ sx, ...bodyTextRestProps }) => ( |
|
|
@ -13,8 +8,6 @@ const Monospace: FC<BodyTextProps> = ({ sx, ...bodyTextRestProps }) => ( |
|
|
|
...bodyTextRestProps, |
|
|
|
...bodyTextRestProps, |
|
|
|
monospaced: true, |
|
|
|
monospaced: true, |
|
|
|
sx: { |
|
|
|
sx: { |
|
|
|
backgroundColor: MONOSPACE_BACKGROUND, |
|
|
|
|
|
|
|
borderRadius: BORDER_RADIUS, |
|
|
|
|
|
|
|
display: 'inline', |
|
|
|
display: 'inline', |
|
|
|
padding: '.1rem .3rem', |
|
|
|
padding: '.1rem .3rem', |
|
|
|
|
|
|
|
|
|
|
|