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

Spacings, borders and shadows Foundations #507

Merged
merged 7 commits into from
Oct 26, 2022

Conversation

vmilan
Copy link
Contributor

@vmilan vmilan commented Oct 25, 2022

Description

Shortcut: #266310
[sc-266310]

The rest of core elements beyond Colors / Typography:

  • Spacings
  • Borders
  • Shadows

@vmilan vmilan marked this pull request as ready for review October 25, 2022 14:12
@vmilan vmilan requested a review from a team October 25, 2022 14:13
height: spacing(4.5),
width: spacing(4.5)
height: getSpacing(4.5),
width: getSpacing(4.5)
Copy link
Contributor

Choose a reason for hiding this comment

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

This is the type of 'strange' spacing numbers I was talking about... We should consider probably a rounding to the next 'accepted level'. I would suggest creating a new task to discuss with Design about it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here I just updated the function we use, not the value, but for sure we need to review every spacing we are using to adapt to the new ones that the design team defined. I was thinking of doing it when we start adapting each component.

@@ -37,7 +37,7 @@ export const parameters = {
storySort: {
order: [
'Introduction',
'CARTO Theme',
'Atoms',
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's validate tomorrow, but ok

Copy link
Contributor

@VictorVelarde VictorVelarde left a comment

Choose a reason for hiding this comment

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

@vmilan 🚀

@vmilan vmilan merged commit 5d8c2b3 into feature/design-system Oct 26, 2022
@vmilan vmilan deleted the feature/others-foundations branch October 26, 2022 15:51
@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #266310: CORE - Adapt others.

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.

2 participants