segmentio / evergreen

🌲 Evergreen React UI Framework by Segment
https://evergreen.segment.com
MIT License
12.39k stars 833 forks source link

Fix disable color on iconbutton #1638

Closed deli-ght closed 1 year ago

deli-ght commented 1 year ago

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

netlify[bot] commented 1 year ago

Deploy Preview for evergreen-storybook ready!

Name Link
Latest commit 0b284aa72ec69d09d4119bbf0ce31d0aa05ce76d
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.