Skip to content

Button as child of .prose has blue text #211

@chriswhong

Description

@chriswhong
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions