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(button-inverted): delete button solid as a prop #421

Merged
merged 4 commits into from
Aug 2, 2023

Conversation

nataliadelmar
Copy link
Collaborator

Description

Button Circle and Button Pill used to have the following contradictive properties:

  • ghost
  • outline
  • solid

It was not clear what each of them, in combination, meant. That gave place to many bugs in MRV2 and in Cantina.
To fix this, we have agreed that:

  • ghost: background is transparent
  • outline: button has a border/background
  • inverted (previously 'solid'): background is white on light mode and black on dark mode.

This results in a combination of styles like this:
image

Links

Links to relevent resources.

@jor-row jor-row added the validated If the pull request is validated automation. label Jul 31, 2023
Copy link
Collaborator

@jor-row jor-row left a comment

Choose a reason for hiding this comment

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

🔥 Nice work, LGTM! Two non-blocking comments that I'm not going to request changes for, but if you can address them before merging that would be great

@nataliadelmar nataliadelmar merged commit b5631bf into momentum-design:master Aug 2, 2023
6 checks passed
@github-actions
Copy link

github-actions bot commented Aug 2, 2023

🎉 This PR is included in version 26.88.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released validated If the pull request is validated automation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants