Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text color overrides link or mailTo color #83

Open
ckknight opened this issue Jan 31, 2018 · 3 comments
Open

text color overrides link or mailTo color #83

ckknight opened this issue Jan 31, 2018 · 3 comments

Comments

@ckknight
Copy link

Despite setting the link and mailTo color to something else, because inner text is rendered within a link, the color of the link itself is never represented.

@jannikbuschke
Copy link

My links also are rendered with default text color. Even when the text color is not specified in styles. Setting values for mailTo and link doesn't have any effect atm (v1.1.0)

@Sevellion
Copy link

Any update on this?

@igorjacauna
Copy link

igorjacauna commented Dec 1, 2021

I solved just overwriting the text style removing the color that was settled on it and setting the view style with the default color. Then i settled the link color like this:

<Markdown styles={{
  text: { fontSize: 24 },
  view: { color: '#000000' },
  link: { color: '#0000ff' }
}}>
  [github](https://github.com)
</Markdown>;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants