-
Notifications
You must be signed in to change notification settings - Fork 448
feat(expo): add native component theming via Expo config plugin #8243
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
3f2f058
feat(expo): add native component theming via Expo config plugin
chriscanin 221e30c
fix(expo): apply Android theme after Clerk.initialize and use real Cl…
chriscanin b5af733
chore(expo): add changeset for native component theming
chriscanin 19bc65a
fix(expo): reject 3-digit hex in theme validation and fix Android 8-d…
chriscanin 3c703ef
fix(expo): stop removing UIUserInterfaceStyle when darkColors is present
chriscanin 665952e
chore(expo): update changeset to reflect UIUserInterfaceStyle change
chriscanin 64521d0
fix(expo): fix iOS theme parsing for clerk-ios 1.0.0 API
chriscanin 2490b35
fix(expo): strict object validation in theme JSON and add tests
chriscanin 578ac31
fix(expo): add top-level object validation and remove stale JSDoc
manovotny 4786284
fix(expo): address review feedback on theming PR
chriscanin 257de36
chore(expo): remove stale ClerkViewFactory.swift template
chriscanin 1ae23f1
fix(expo): suppress no-require-imports lint error in theme test
chriscanin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(expo): apply Android theme after Clerk.initialize and use real Cl…
…erkDesign signature Two fixes needed to make the Android theme actually take effect: 1. Call loadThemeFromAssets() AFTER Clerk.initialize() instead of before. Clerk.initialize() accepts a `theme` parameter that defaults to null and assigns it to Clerk.customTheme on every call, which was wiping out the theme we just loaded. 2. Use the real ClerkDesign(borderRadius: Dp) constructor signature. The previous code passed nonexistent fontFamily and nullable borderRadius parameters that don't compile against clerk-android-ui.
- Loading branch information
commit 221e30c298bc5cf028c490058b12a340f5a239a5
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.