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

Fix disable color on iconbutton #1638

Merged

Conversation

deli-ght
Copy link
Contributor

@deli-ght deli-ght commented Apr 12, 2023

Overview
When Iconbutton component is disabled, it changes its border color but not the icon inside.
Only if the button has intent property with disabled changes the icon inside, so i change the logic little bit.

Screenshots (if applicable)

before

default
image

disabled
image

after (screenshot of storybook that i changed)

image

Documentation

  • Updated Typescript types and/or component PropTypes
  • Added / modified component docs
  • Added / modified Storybook stories

@netlify
Copy link

netlify bot commented Apr 12, 2023

Deploy Preview for evergreen-storybook ready!

Name Link
🔨 Latest commit 0b284aa
🔍 Latest deploy log https://app.netlify.com/sites/evergreen-storybook/deploys/6454fe6ae193570008c7a2a5
😎 Deploy Preview https://deploy-preview-1638--evergreen-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@brandongregoryscott brandongregoryscott merged commit afcaad7 into segmentio:master May 5, 2023
@brandongregoryscott brandongregoryscott linked an issue May 5, 2023 that may be closed by this pull request
@deli-ght deli-ght deleted the fix-disable-iconbutton-color branch May 5, 2023 13:29
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

Successfully merging this pull request may close these issues.

Button disabled icon color doesn't change
2 participants