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(clerk-react,astro,vue): Add appearance option to modal components #5125

Conversation

alexcarpenter
Copy link
Member

@alexcarpenter alexcarpenter commented Feb 10, 2025

Description

Add the ability to specify an appearance for modal component usages.

<SignInButton
  mode="modal"
  appearance={{
    elements: {
      headerTitle: {
        color: "#B9F702",
      },
    },
  }}
/>

Resolves SDKI-863

Checklist

  • pnpm test runs as expected.
  • pnpm 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:

Copy link

changeset-bot bot commented Feb 10, 2025

🦋 Changeset detected

Latest commit: d691864

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

This PR includes changesets to release 22 packages
Name Type
@clerk/astro Patch
@clerk/clerk-react Patch
@clerk/vue Patch
@clerk/types Minor
@clerk/chrome-extension Patch
@clerk/elements Patch
@clerk/clerk-expo Patch
@clerk/nextjs Patch
@clerk/react-router Patch
@clerk/remix Patch
@clerk/tanstack-start Patch
@clerk/nuxt Patch
@clerk/backend Patch
@clerk/clerk-js Patch
@clerk/expo-passkeys Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/localizations Patch
@clerk/shared Patch
@clerk/testing Patch
@clerk/themes Patch
@clerk/ui 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

Copy link

vercel bot commented Feb 10, 2025

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

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ⬜️ Skipped (Inspect) Feb 11, 2025 6:42pm

Copy link
Member

@wobsoriano wobsoriano left a comment

Choose a reason for hiding this comment

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

looks great!

@panteliselef panteliselef changed the title feat(react): Add appearance option to modal components feat(clerk-react): Add appearance option to modal components Feb 11, 2025
@panteliselef panteliselef changed the title feat(clerk-react): Add appearance option to modal components feat(clerk-react,astro,vue): Add appearance option to modal components Feb 11, 2025
@alexcarpenter
Copy link
Member Author

!snapshot

@clerk-cookie
Copy link
Collaborator

Hey @alexcarpenter - the snapshot version command generated the following package versions:

Package Version
@clerk/astro 2.1.21-snapshot.v20250211155759
@clerk/backend 1.24.1-snapshot.v20250211155759
@clerk/chrome-extension 2.2.9-snapshot.v20250211155759
@clerk/clerk-js 5.52.3-snapshot.v20250211155759
@clerk/elements 0.22.22-snapshot.v20250211155759
@clerk/clerk-expo 2.7.7-snapshot.v20250211155759
@clerk/expo-passkeys 0.1.20-snapshot.v20250211155759
@clerk/express 1.3.48-snapshot.v20250211155759
@clerk/fastify 2.1.21-snapshot.v20250211155759
@clerk/localizations 3.10.6-snapshot.v20250211155759
@clerk/nextjs 6.11.3-snapshot.v20250211155759
@clerk/nuxt 1.1.4-snapshot.v20250211155759
@clerk/clerk-react 5.22.13-snapshot.v20250211155759
@clerk/react-router 1.0.8-snapshot.v20250211155759
@clerk/remix 4.4.24-snapshot.v20250211155759
@clerk/shared 2.21.1-snapshot.v20250211155759
@clerk/tanstack-start 0.9.6-snapshot.v20250211155759
@clerk/testing 1.4.22-snapshot.v20250211155759
@clerk/themes 2.2.18-snapshot.v20250211155759
@clerk/types 4.46.0-snapshot.v20250211155759
@clerk/ui 0.3.23-snapshot.v20250211155759
@clerk/vue 1.1.12-snapshot.v20250211155759

Tip: Use the snippet copy button below to quickly install the required packages.
@clerk/astro

npm i @clerk/astro@2.1.21-snapshot.v20250211155759 --save-exact

@clerk/backend

npm i @clerk/backend@1.24.1-snapshot.v20250211155759 --save-exact

@clerk/chrome-extension

npm i @clerk/chrome-extension@2.2.9-snapshot.v20250211155759 --save-exact

@clerk/clerk-js

npm i @clerk/clerk-js@5.52.3-snapshot.v20250211155759 --save-exact

@clerk/elements

npm i @clerk/elements@0.22.22-snapshot.v20250211155759 --save-exact

@clerk/clerk-expo

npm i @clerk/clerk-expo@2.7.7-snapshot.v20250211155759 --save-exact

@clerk/expo-passkeys

npm i @clerk/expo-passkeys@0.1.20-snapshot.v20250211155759 --save-exact

@clerk/express

npm i @clerk/express@1.3.48-snapshot.v20250211155759 --save-exact

@clerk/fastify

npm i @clerk/fastify@2.1.21-snapshot.v20250211155759 --save-exact

@clerk/localizations

npm i @clerk/localizations@3.10.6-snapshot.v20250211155759 --save-exact

@clerk/nextjs

npm i @clerk/nextjs@6.11.3-snapshot.v20250211155759 --save-exact

@clerk/nuxt

npm i @clerk/nuxt@1.1.4-snapshot.v20250211155759 --save-exact

@clerk/clerk-react

npm i @clerk/clerk-react@5.22.13-snapshot.v20250211155759 --save-exact

@clerk/react-router

npm i @clerk/react-router@1.0.8-snapshot.v20250211155759 --save-exact

@clerk/remix

npm i @clerk/remix@4.4.24-snapshot.v20250211155759 --save-exact

@clerk/shared

npm i @clerk/shared@2.21.1-snapshot.v20250211155759 --save-exact

@clerk/tanstack-start

npm i @clerk/tanstack-start@0.9.6-snapshot.v20250211155759 --save-exact

@clerk/testing

npm i @clerk/testing@1.4.22-snapshot.v20250211155759 --save-exact

@clerk/themes

npm i @clerk/themes@2.2.18-snapshot.v20250211155759 --save-exact

@clerk/types

npm i @clerk/types@4.46.0-snapshot.v20250211155759 --save-exact

@clerk/ui

npm i @clerk/ui@0.3.23-snapshot.v20250211155759 --save-exact

@clerk/vue

npm i @clerk/vue@1.1.12-snapshot.v20250211155759 --save-exact

@alexcarpenter alexcarpenter merged commit 570d838 into main Feb 11, 2025
29 checks passed
@alexcarpenter alexcarpenter deleted the alexcarpenter/sdki-863-add-appearance-option-to-signinbutton-signupbutton branch February 11, 2025 19:14
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.

5 participants