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

Suggestion: Image tintColor #362

Closed
c-h- opened this issue Feb 15, 2017 · 1 comment
Closed

Suggestion: Image tintColor #362

c-h- opened this issue Feb 15, 2017 · 1 comment

Comments

@c-h-
Copy link

c-h- commented Feb 15, 2017

Now that tintColor is a standard prop instead of iOS only, it'd be cool to have some support on Web. There's not a super easy way to do this on web that I'm aware of, but for SVG images at least there's fill. My understanding is that CSS filters won't work since they only modify the existing image's colors (you can't simply fill the image). Perhaps a CSS mask could be used to achieve image fill regardless of image type?

@necolas if you're open to supporting tintColor and can point me to where I could implement it I'd be happy to give it a go.

@necolas
Copy link
Owner

necolas commented Feb 16, 2017

Supporting tintColor is not a priority right now (I suspect that it would be tricky for mobile web too). But feel free to explore your ideas and what's possible

@necolas necolas closed this as completed Feb 16, 2017
Repository owner locked and limited conversation to collaborators Mar 6, 2017
Repository owner unlocked this conversation Jun 24, 2017
necolas added a commit that referenced this issue May 30, 2018
Use CSS filters to implement React Native image styles.

Ref #362
Ref #548
necolas added a commit that referenced this issue Jun 3, 2018
Use CSS filters to implement React Native image styles.

Ref #362
Ref #548
necolas added a commit that referenced this issue Jun 3, 2018
Use CSS filters to implement React Native image styles.

Ref #362
Ref #548
necolas added a commit that referenced this issue Jun 3, 2018
Use CSS filters to implement React Native image styles.

Ref #362
Ref #548
necolas added a commit that referenced this issue Jun 4, 2018
Use CSS filters to implement React Native image styles.

Ref #362
Ref #548
necolas added a commit that referenced this issue Jun 4, 2018
Use CSS filters to implement React Native image styles.

Ref #362
Ref #548
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

No branches or pull requests

2 participants