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

refactor: apply new design tokens for appbar and user menu #2917

Merged
merged 5 commits into from
Dec 19, 2022

Conversation

emmenko
Copy link
Member

@emmenko emmenko commented Dec 16, 2022

image

I already checked with @FilPob and is approved from his side.

@changeset-bot
Copy link

changeset-bot bot commented Dec 16, 2022

🦋 Changeset detected

Latest commit: 4442548

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

This PR includes changesets to release 35 packages
Name Type
@commercetools-frontend/application-components Patch
@commercetools-frontend/application-shell Patch
@commercetools-applications/merchant-center-template-starter-typescript Patch
@commercetools-applications/merchant-center-template-starter Patch
@commercetools-local/playground Patch
@commercetools-local/visual-testing-app Patch
@commercetools-website/components-playground Patch
@commercetools-frontend/cypress Patch
@commercetools-backend/eslint-config-node Patch
@commercetools-backend/express Patch
@commercetools-backend/loggers Patch
@commercetools-frontend/actions-global Patch
@commercetools-frontend/application-config Patch
@commercetools-frontend/application-shell-connectors Patch
@commercetools-frontend/assets Patch
@commercetools-frontend/babel-preset-mc-app Patch
@commercetools-frontend/browser-history Patch
@commercetools-frontend/codemod Patch
@commercetools-frontend/constants Patch
@commercetools-frontend/create-mc-app Patch
@commercetools-frontend/eslint-config-mc-app Patch
@commercetools-frontend/i18n Patch
@commercetools-frontend/jest-preset-mc-app Patch
@commercetools-frontend/jest-stylelint-runner Patch
@commercetools-frontend/l10n Patch
@commercetools-frontend/mc-dev-authentication Patch
@commercetools-frontend/mc-html-template Patch
@commercetools-frontend/mc-scripts Patch
@commercetools-frontend/notifications Patch
@commercetools-frontend/permissions Patch
@commercetools-frontend/react-notifications Patch
@commercetools-frontend/sdk Patch
@commercetools-frontend/sentry Patch
@commercetools-frontend/url-utils Patch
@commercetools-website/custom-applications Patch

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

@@ -4,6 +4,7 @@ import {
} from '@commercetools-uikit/design-system';

const appKitSpacing55 = '40px';
const newShadow1 = '0px 2px 5px 0px rgba(0, 0, 0, 0.15)';
Copy link
Member Author

Choose a reason for hiding this comment

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

Would be moved to uikit, as it's one of the new shadows.

Comment on lines -169 to +167
width: 225px;
width: ${designTokens.constraint6};
Copy link
Member Author

Choose a reason for hiding this comment

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

It's fine to change it in general

@@ -1,5 +1,6 @@
export const DIMENSIONS = {
header: '43px',
header: '56px',
Copy link
Member Author

Choose a reason for hiding this comment

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

It's fine to change it in general

@@ -103,7 +104,7 @@ const AppBar = (props: Props) => {
<div
css={css`
border-left: 1px ${customProperties.colorNeutral90} solid;
height: ${DIMENSIONS.header};
height: ${DIMENSIONS.headerItemDivider};
Copy link
Member Author

Choose a reason for hiding this comment

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

It's fine to change it in general

@emmenko emmenko requested a review from a team December 16, 2022 09:03
@github-actions
Copy link
Contributor

github-actions bot commented Dec 16, 2022

Deploy preview for merchant-center-application-kit ready!

✅ Preview
https://merchant-center-application-rejpqcc15-commercetools.vercel.app
https://appkit-sha-57cd6f7d841d75b453dcfd6c12c0d216150461e7.commercetools.vercel.app
https://appkit-pr-2917.commercetools.vercel.app

Built with commit 4442548.
This pull request is being automatically deployed with vercel-action

Copy link
Contributor

@CarlosCortizasCT CarlosCortizasCT left a comment

Choose a reason for hiding this comment

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

💯

@emmenko emmenko merged commit fbfa212 into main Dec 19, 2022
@emmenko emmenko deleted the nm-tokens-appbar branch December 19, 2022 10:47
@ghost ghost mentioned this pull request Dec 19, 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.

None yet

3 participants