-
Notifications
You must be signed in to change notification settings - Fork 19
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
Remove Salt icon color and style overrides #487
Conversation
🦋 Changeset detectedLatest commit: 7e5a45d The changes in this PR will be included in the next version bump. This PR includes changesets to release 24 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
export interface IconProps { | ||
/** Additional class name for root class override. */ | ||
className?: string; | ||
/** Name of the icon */ | ||
name: IconNames; | ||
/** Size of Icon */ | ||
size?: 'small' | 'medium' | 'large'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do teams use Icon directly? If so will this cause adoption issues? It it worth supporting both and then mapping to the new values?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't find any uses of it in the main docs repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be safer to keep this but I don't know if its necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should keep it for now.
This PR removes the overrides for Salt Icon color and size.
The color override is stopping the color prop from working on the Salt site, (added here: jpmorganchase/salt-ds#2462). The Salt icon will now use currentColor by default, so the override shouldn't be needed anymore.
The Mosaic Icon now uses number for size to align with Salt.