PrivyElements
config
prop.
If you want to set the value manually, instead of automatically through the dashboard, you should set the accentColor
config option on the PrivyElements
component.
colorScheme
config option.
You can set a fixed value if that best matches the experience and design of your application, or you can use React Native’s own useColorScheme
hook to get a dynamic value and adapt to your user’s settings.