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

feat: Allow an icon to display with an inverse color #1787

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

VincentSmedinga
Copy link
Contributor

Describe the pull request

Thank you for contributing to the project!
Please use this template to help us handle your PR smoothly.

What

Allows an icon to draw itself in white instead of black if it sits on a dark background.

Why

We need it for an upcoming change in the design of Alert.

How

Added a prop and a class name, consistent with other components that have this feature.

Checklist

Before submitting your pull request, please ensure you have done the following. Check each checkmark if you have done so or if it wasn't necessary:

  • Add or update unit tests
  • Add or update documentation
  • Add or update stories
  • Add or update exports in index.* files
  • Start the PR title with a Conventional Commit prefix, as explained here.

Additional notes

  • None

RubenSibon
RubenSibon previously approved these changes Dec 16, 2024
Copy link
Contributor

@RubenSibon RubenSibon left a comment

Choose a reason for hiding this comment

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

LGTM, good to make the Icon story more dry.

@github-actions github-actions bot temporarily deployed to demo-DES-1101-icon-inverse-color December 16, 2024 12:53 Destroyed
@alimpens alimpens merged commit 1f5d166 into develop Dec 16, 2024
6 checks passed
@alimpens alimpens deleted the feat/DES-1101-icon-inverse-color branch December 16, 2024 13:01
@github-actions github-actions bot mentioned this pull request Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants