fix: Dark mode inline code styling fixed #1593 (#1597)

background changed to props.theme.codeBackground
This commit is contained in:
Debajyoti Halder
2020-10-20 10:44:14 +05:30
committed by GitHub
parent 7bee60a337
commit b3549637fe

View File

@ -136,7 +136,7 @@ const ListItem = styled.li`
const Code = styled.code`
padding: 4px 6px;
margin: 0 2px;
background: #eaebea;
background: ${(props) => props.theme.codeBackground};
border-radius: 4px;
`;