Skip to content

Regression in color behavior #207

Open
@ErikBjare

Description

I just updated from v3.5 to v4.5 and found that behavior around how colors are set have changed.

The README mentions that:

The icon color is inherited from the font color of the parent element by default. You can easily change it to any other color by specifying the color property.

However, as of v4.5, this is no longer true, and neither setting the color component prop nor the color CSS property. Instead, you need to set the fill CSS property: #141 (comment)

I can't find a way to inherit the color correctly (as it should), so I'm going to have to downgrade for now.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions