Skip to content

Icon Fallback Color and Props #162

@korgon

Description

@korgon

We added the hex color #333333 as a fallback color at some point in 1.0 - likely for storybook? This will need to be removed if possible to ensure migrations do not use it. Implementations does not even use the color prop but instead modifies the color via CSS (SASS).

In addition we should look into adding new props for the various colors to allow for specific coloring of the different SVG properties:

  • fill (as fillColor)
  • stroke (as strokeColor)

These colors would take priority on those properties but would fallback to color and then to the them colors. Any other props that could be useful could be added as well (eg. strokeWidth).

Metadata

Metadata

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions