From d454acf1136e6b6695e3e89df3b0cb51e9400234 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Wed, 18 May 2022 22:33:25 -0400 Subject: [PATCH] fix(striker-ui): remove background from Monospace --- striker-ui/components/Text/Monospace.tsx | 7 ------- striker-ui/lib/consts/DEFAULT_THEME.ts | 1 - 2 files changed, 8 deletions(-) diff --git a/striker-ui/components/Text/Monospace.tsx b/striker-ui/components/Text/Monospace.tsx index c4f4ed5b..633b8318 100644 --- a/striker-ui/components/Text/Monospace.tsx +++ b/striker-ui/components/Text/Monospace.tsx @@ -1,10 +1,5 @@ import { FC } from 'react'; -import { - BORDER_RADIUS, - MONOSPACE_BACKGROUND, -} from '../../lib/consts/DEFAULT_THEME'; - import BodyText, { BodyTextProps } from './BodyText'; const Monospace: FC = ({ sx, ...bodyTextRestProps }) => ( @@ -13,8 +8,6 @@ const Monospace: FC = ({ sx, ...bodyTextRestProps }) => ( ...bodyTextRestProps, monospaced: true, sx: { - backgroundColor: MONOSPACE_BACKGROUND, - borderRadius: BORDER_RADIUS, display: 'inline', padding: '.1rem .3rem', diff --git a/striker-ui/lib/consts/DEFAULT_THEME.ts b/striker-ui/lib/consts/DEFAULT_THEME.ts index d81cf956..719f54c4 100644 --- a/striker-ui/lib/consts/DEFAULT_THEME.ts +++ b/striker-ui/lib/consts/DEFAULT_THEME.ts @@ -13,7 +13,6 @@ export const DIVIDER = '#888'; export const SELECTED_ANVIL = '#00ff00'; export const DISABLED = '#AAA'; export const BLACK = '#343434'; -export const MONOSPACE_BACKGROUND = '#222'; export const BORDER_RADIUS = '3px'; export const LARGE_MOBILE_BREAKPOINT = 1800;