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: Design System Unification (2) #2390

Merged
merged 18 commits into from
Jul 29, 2024
Merged

Conversation

renatamottam
Copy link
Contributor

@renatamottam renatamottam commented Jul 25, 2024

Commits migrated from #2120 to fix unwanted merge

What's the purpose of this pull request?

This PR updates the Brandless to the new design foundations from VTEX. I also made a small improvement on Payment Methods icons by fixing existed ones and adding new methods.

Major changes:

  • Updates type scale

Minor changes:

  • Fix InputField label centered vertical position for inputs with custom height
  • Fix payment methods icons
  • Fix ProductCard Out-of-stock styles
  • Fix QuantitySelector border-radius declaration
  • Update all "Lato" font declaration to "Inter"
  • Add missing ProductPrice style import on ProductGallery
Before After
Screenshot 2023-11-21 at 10 11 13 Screenshot 2023-11-21 at 10 10 48
image image

How to test it?

You should see changes on typography, colors and icons.
https://starter-git-feat-design-system-unification-faststore.vercel.app/

Starter PR

vtex-sites/starter.store#501

@renatamottam renatamottam self-assigned this Jul 25, 2024
@renatamottam renatamottam requested a review from a team as a code owner July 25, 2024 12:46
@renatamottam renatamottam requested review from hellofanny and lucasfp13 and removed request for a team July 25, 2024 12:46
Copy link

vercel bot commented Jul 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
faststore-site ⬜️ Ignored (Inspect) Visit Preview Jul 25, 2024 2:03pm

Copy link
Contributor Author

Choose a reason for hiding this comment

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

All .mdx files changes should be updated on the dev portal doc @mariana-caetano

Copy link
Contributor

@mariana-caetano mariana-caetano Jul 25, 2024

Choose a reason for hiding this comment

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

Thanks, @renatamottam!! I will work on this in the EDU-13056.

Copy link
Contributor

Choose a reason for hiding this comment

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

@renatamottam @mariana-caetano
btw, I don't think this could be classified as a breaking change, but since we are renaming some tokens and base styles, I think it would be a good idea to make a release, at least here on GitHub. We won't have the documentation updates launched together, right? So, I'll make the release after the new version of the framework is ready. Does that sound okay?

Copy link
Contributor

Choose a reason for hiding this comment

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

@hellofanny agreed!

Copy link

codesandbox-ci bot commented Jul 25, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@@ -32,7 +32,7 @@
// Title
--fs-toast-title-size : var(--fs-text-size-body);
--fs-toast-title-weight : var(--fs-text-weight-bold);
--fs-toast-title-line-height : var(--fs-scale);
--fs-toast-title-line-height : 1.2;
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion: @renatamottam I noticed that we are using this same line-height:1.2 value for other components too, WDYT about adding it as a global token?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I love this idea, I'm gonna create a task for it on our backlog ✨

Copy link
Contributor

@hellofanny hellofanny left a comment

Choose a reason for hiding this comment

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

LGTM! 🤙

@renatamottam renatamottam merged commit 6cbf76a into main Jul 29, 2024
7 checks passed
@renatamottam renatamottam deleted the feat/design-system-unification-2 branch July 29, 2024 20:12
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.

3 participants