-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
PlatformColor and DynamicColorIOS don't work #1391
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open. |
Please don't close this Mr. Stale Bot ;-) I would like to know if this is considered a bug and will be fixed or if this will stay this way so we know how to deal with this in our code-base. |
I got the same problem |
Same problem here, anyone have a workaround? |
Same here. Expected |
I think that return type is expected. You can |
#930 Bug
React Native 0.63 has PlatformColor and DynamicColorIOS color modes (see https://medium.com/@jacobp100/dark-mode-in-react-native-a4ac55a2a0e5)
I tried setting it on
fill
,color
andtintColor
using one of these. However, these new colors don't workUnexpected behavior
Explained above
Environment info
Run
react-native info
in your terminal and copy the results here. Also, include the precise version number of this library that you are using in the projectReact native info output:
Library version: 12.1.0
Steps To Reproduce
No expo link due to requiring RN 0.63
Short, Self Contained, Correct (Compilable), Example
No expo link due to requiring RN 0.63
Extra Info
I think
tintColor
should be easy to support on iOS. RCTConvert handles the new color styles, so I think we just need to remove the JS logic here. Android shouldn't be too much harderI suspect handling this for stuff like
fill
will be harderThe text was updated successfully, but these errors were encountered: