Now colors like #fff, rgba(28,28,28) are accepted. They are converted by react native via processColor.
transparent is correctly handled by android @ColorInt but translucent keyword isn't really supported by processColor but it resolve to null so I guess that's acceptable.
Note: I made this PR via GitHub UI, so feel free to use "Squash and Merge" button to get a clean git history.
I am using this patch locally via patch-package and it works great for me.
Now colors like
#fff
,rgba(28,28,28)
are accepted. They are converted by react native viaprocessColor
.transparent
is correctly handled by android@ColorInt
buttranslucent
keyword isn't really supported byprocessColor
but it resolve tonull
so I guess that's acceptable.Note: I made this PR via GitHub UI, so feel free to use "Squash and Merge" button to get a clean git history. I am using this patch locally via
patch-package
and it works great for me.