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(button): fix icon color on disabled icon only ghost buttons #8810

Merged

Conversation

janhassel
Copy link
Member

With the recent selector change in #8585 regarding the icon color on buttons, the specificity increased and caused disabled icon-only ghost buttons to use $icon-primary instead of $icon-on-color-disabled. This PR adds the same selector addition to the disabled icon-only ghost buttons.

Before
image

After
image

Changelog

Changed

  • Increased css specificity for icon color fill on disabled icon-only ghost buttond

Testing / Reviewing

  • Ensure the icon color on disabled icon-only ghost buttons matches $icon-on-color-disabled

@janhassel janhassel requested a review from a team as a code owner June 1, 2021 08:37
@netlify
Copy link

netlify bot commented Jun 1, 2021

✔️ Deploy Preview for carbon-elements ready!

🔨 Explore the source changes: c842e8f

🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/60b691e5ae354f0007db2872

😎 Browse the preview: https://deploy-preview-8810--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Jun 1, 2021

✔️ Deploy Preview for carbon-components-react ready!
Built without sensitive environment variables

🔨 Explore the source changes: c842e8f

🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/60b691e5fb486e00089fef50

😎 Browse the preview: https://deploy-preview-8810--carbon-components-react.netlify.app/iframe

Copy link
Collaborator

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 ✅

@kodiakhq kodiakhq bot merged commit cb0dc9f into carbon-design-system:main Jun 1, 2021
@janhassel janhassel deleted the disabled-iconbutton-color-fix branch June 2, 2021 05:18
@jnm2377 jnm2377 mentioned this pull request Jun 9, 2021
22 tasks
emyarod pushed a commit to emyarod/carbon that referenced this pull request Jun 10, 2021
…on-design-system#8810)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants