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

Use primary as the default for link color (material 3 UI) #107

Open
dessalines opened this issue Dec 30, 2022 · 0 comments
Open

Use primary as the default for link color (material 3 UI) #107

dessalines opened this issue Dec 30, 2022 · 0 comments

Comments

@dessalines
Copy link

Currently its always blue, which doesn't look great for most material themes.

I'm getting around this manually by doing:

val richTextStyle = RichTextStyle().resolveDefaults().copy(
  stringStyle = RichTextStringStyle().copy(
    linkStyle = MaterialTheme.typography.bodyLarge.toSpanStyle().copy(
      color = MaterialTheme.colorScheme.primary
    )
  )
)
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

1 participant