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

Button as child of .prose has blue text #211

Open
chriswhong opened this issue Jun 5, 2023 · 0 comments
Open

Button as child of .prose has blue text #211

chriswhong opened this issue Jun 5, 2023 · 0 comments

Comments

@chriswhong
Copy link
Contributor

image

When Button uses an a element and is a child of .prose, its text shows up as blue on blue. We got around this by passing in passthroughProps with all of the same classes the Button component would use but with unprose added, but this defeats the purpose of using the component.

There were two instances of using this in the help docs, I am not sure if there are others throughout the other docs sites.

It's also possible there's an easier fix I am not aware of, just leaving this here in case we should account for this in mr-ui

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