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

"Button" component - Fix "elevation" treatment #77

Merged
merged 2 commits into from
Mar 17, 2022

Conversation

didoo
Copy link
Contributor

@didoo didoo commented Mar 16, 2022

📌 Summary

While working on #76 I noticed that the way we applied the "elevation" styles to the `Button" component was not in sync with the design specs in Figma.

In this PR I have update the code accordingly to the designs.

Preview of the documentation page: https://hds-components-git-fix-button-elevation-treatment-hashicorp.vercel.app/components/button

📸 Screenshots

These are the Button's color and state variant that have a elevation-low style applied (I've emphasized the effect to make it more visible)
screenshot_1099


👀 How to review

👉 Review by files changed

Reviewer's checklist:

  • +1 Percy
  • Confirm that PR has a changelog update via Changesets if needed

💬 Please consider using conventional comments when reviewing this PR.


@didoo didoo requested a review from heatherlarsen March 16, 2022 12:13
@changeset-bot
Copy link

changeset-bot bot commented Mar 16, 2022

🦋 Changeset detected

Latest commit: c08711e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@hashicorp/design-system-components Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Mar 16, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

hds-flight-website – ./

🔍 Inspect: https://vercel.com/hashicorp/hds-flight-website/Hidt7ejw4xXoD8oAPwgx2cbXW29D
✅ Preview: https://hds-flight-website-git-fix-button-elevation-treatment-hashicorp.vercel.app

hds-components – ./

🔍 Inspect: https://vercel.com/hashicorp/hds-components/tfDUhQ2orUZjdkp3HiCNUGknh3px
✅ Preview: https://hds-components-git-fix-button-elevation-treatment-hashicorp.vercel.app

@vercel vercel bot temporarily deployed to Preview – hds-flight-website March 16, 2022 12:14 Inactive
@vercel vercel bot temporarily deployed to Preview – hds-components March 16, 2022 12:14 Inactive
Copy link
Contributor

@heatherlarsen heatherlarsen left a comment

Choose a reason for hiding this comment

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

lgtm! and good catch!

Base automatically changed from add-tertiary-button to main March 17, 2022 07:58
@didoo didoo merged commit ae60e60 into main Mar 17, 2022
@didoo didoo deleted the fix-button-elevation-treatment branch March 17, 2022 07:59
@github-actions github-actions bot mentioned this pull request Mar 17, 2022
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.

2 participants