Skip to content
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

Support multiple color format #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Support multiple color format #44

wants to merge 2 commits into from

Conversation

MoOx
Copy link

@MoOx MoOx commented Nov 23, 2020

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.

MoOx added 2 commits November 23, 2020 13:12
Now colors like  `#fff`, `rgba(28,28,28)` are accepted. They are converted by react native via `processColor`.
`translucent` keyword isn't really supported by `processColor` but it resolve to `null` so I guess that's acceptable?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant