Skip to content
This repository has been archived by the owner on Apr 3, 2021. It is now read-only.

Commit

Permalink
Show link on light theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubhamchinda committed Oct 1, 2019
1 parent b40349a commit 90286c5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Markdown/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,10 @@ markdown.use(linkAttributes, {
},
'& a, & a code': {
// Style taken from the Link component
color: theme.palette.error.contrastText,
color:
theme.palette.common[
theme.palette.type === 'light' ? 'black' : 'white'
],
},
'& img': {
maxWidth: '100%',
Expand Down

0 comments on commit 90286c5

Please sign in to comment.