-
Notifications
You must be signed in to change notification settings - Fork 282
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
fix(clerk-js): UI fixes on <SignIn/> and <SignUp/> to match new design #2512
Conversation
🦋 Changeset detectedLatest commit: 9603b60 The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types 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 |
!preview |
Hey @octoper, your preview is available.
|
xs: '0.6875rem', | ||
sm: '0.75rem', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to keep these numbers as is. These were carefully selected to be as close as possible to the font-sizes we want, while also keep the correct ratio between all font-sizes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted it, thanks for catching it.
Some font sizes in our design are slightly different than those, so I'll leave it as is for the time being to avoid adding many custom sizes.
At some point, it'd be good for us to align both codebase and design sizes.
@@ -45,14 +45,14 @@ const { applyVariants, filterProps } = createVariants((theme, props: OwnProps) = | |||
primary: { | |||
backgroundColor: theme.colors.$primary500, | |||
color: theme.colors.$colorTextOnPrimaryBackground, | |||
...common.buttonShadow, | |||
...common.buttonShadow(theme), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯 Good catch!
!preview |
3470cd6
to
f524eb9
Compare
!preview |
!preview |
Description
Fixes the issues listed on this ticket.
Checklist
npm test
runs as expected.npm run build
runs as expected.Type of change
Packages affected
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/clerk-expo
@clerk/fastify
gatsby-plugin-clerk
@clerk/localizations
@clerk/nextjs
@clerk/clerk-react
@clerk/remix
@clerk/clerk-sdk-node
@clerk/shared
@clerk/themes
@clerk/types
build/tooling/chore