Expanding Clerk Provider for Themes and Dash Eco-System Support#10
Conversation
BSd3v
commented
Dec 5, 2025
- adjustments for dash eco-system integration
- allows for themes to be supported
There was a problem hiding this comment.
Pull request overview
This PR adds theme support to the ClerkProvider component and includes critical bug fixes for Dash ecosystem integration. The changes enable users to apply Clerk's pre-built themes (dark, neobrutalism) to authentication UI components and fix a Python variable reference bug that would have caused runtime failures.
Key changes:
- Added
@clerk/themespackage support with configurable theme selection viathemeNameprop - Fixed critical bug in
clerk_auth.pywhereclerk_scriptwas referenced withoutself.prefix - Enhanced ClerkProvider to accept additional props for Dash ecosystem integration
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/ts/components/ClerkProvider.tsx | Added theme support with new props (themeName, id) and theme mapping logic; accepts additional props via spread operator |
| package.json | Added @clerk/themes ^2.4.42 as dev dependency |
| package-lock.json | Resolved dependencies for @clerk/themes and updated transitive dependencies (@clerk/shared, swr, use-sync-external-store) |
| dash_auth_plus/package-info.json | Added @clerk/themes ^2.4.42 for consistency with main package.json |
| dash_auth_plus/clerk_auth.py | Fixed variable reference bug: changed clerk_script to self.clerk_script |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…-plus into clerk-provider-expansion