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

fix(clerk-js): Button variants and color alignments #2711

Conversation

desiprisg
Copy link
Contributor

@desiprisg desiprisg commented Feb 1, 2024

Description

  • Refactor button primitive to use variant and colorScheme
  • Simplify session action buttons
  • Text color alignments

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

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

Copy link

changeset-bot bot commented Feb 1, 2024

🦋 Changeset detected

Latest commit: 612db1a

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

This PR includes changesets to release 0 packages

When 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

@desiprisg desiprisg changed the title George/sdk 1271 align all the text colors including naming with the ones Color alignments Feb 1, 2024
@desiprisg desiprisg changed the title Color alignments fix(clerk-js): Color alignments Feb 1, 2024
@desiprisg desiprisg marked this pull request as ready for review February 1, 2024 20:42
@anagstef
Copy link
Member

anagstef commented Feb 2, 2024

!preview

@clerk-cookie
Copy link
Collaborator

clerk-cookie commented Feb 2, 2024

Hey @desiprisg, your preview is available.

Status Preview Updated (UTC)
🍪 Deployed Visit preview Feb 06, 2024 04:55 PM

@desiprisg
Copy link
Contributor Author

!preview

@desiprisg desiprisg force-pushed the george/sdk-1271-align-all-the-text-colors-including-naming-with-the-ones branch from 6d74b82 to 09f12ca Compare February 6, 2024 10:57
@octoper
Copy link
Member

octoper commented Feb 6, 2024

!preview

@desiprisg desiprisg force-pushed the george/sdk-1271-align-all-the-text-colors-including-naming-with-the-ones branch from 09f12ca to e9d66db Compare February 6, 2024 16:46
@desiprisg desiprisg changed the title fix(clerk-js): Color alignments fix(clerk-js): Button variants and color alignments Feb 6, 2024
@desiprisg desiprisg force-pushed the george/sdk-1271-align-all-the-text-colors-including-naming-with-the-ones branch from e9d66db to 573d10f Compare February 6, 2024 16:50
@desiprisg
Copy link
Contributor Author

!preview

Copy link
Member

@anagstef anagstef left a comment

Choose a reason for hiding this comment

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

💯

@@ -395,6 +395,7 @@ export type Elements = {
export type Variables = {
/**
* The primary color used throughout the components. Set this to your brand color.
* @default #42434D
Copy link
Member

Choose a reason for hiding this comment

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

I guess these should be wrapped in quotes '#42434D'

@desiprisg desiprisg force-pushed the george/sdk-1271-align-all-the-text-colors-including-naming-with-the-ones branch from 573d10f to 612db1a Compare February 6, 2024 18:47
@anagstef anagstef enabled auto-merge February 6, 2024 18:59
@anagstef anagstef added this pull request to the merge queue Feb 6, 2024
Merged via the queue into main with commit a1ae457 Feb 6, 2024
@anagstef anagstef deleted the george/sdk-1271-align-all-the-text-colors-including-naming-with-the-ones branch February 6, 2024 19:10
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.

4 participants