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

Access color from tachyons [feature request] #27

Closed
louis-pvs opened this issue Jan 9, 2017 · 2 comments
Closed

Access color from tachyons [feature request] #27

louis-pvs opened this issue Jan 9, 2017 · 2 comments

Comments

@louis-pvs
Copy link

Wich could able to access the computed color like how we able to access sizes from tachyons, appreciate much

@fab1an
Copy link
Member

fab1an commented Jan 9, 2017

RNT since v3 doesn't compute colors anymore, it just passes the names to react-native. If you need values for the names I suggest you look into this library: https://www.npmjs.com/package/color

@fab1an fab1an closed this as completed Jan 9, 2017
@louis-pvs
Copy link
Author

Thanks for recommending that package, it was very useful.
I could export an object that contains all color code mapping, and import to the module when needed,
just fell like doing double work importing twice, since tachyons already have the color code I need and I still have to import another file. no prob, cheers, and many thanks

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