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

Platform specific colors #30

Open
yangm97 opened this issue Jan 11, 2022 · 0 comments
Open

Platform specific colors #30

yangm97 opened this issue Jan 11, 2022 · 0 comments

Comments

@yangm97
Copy link

yangm97 commented Jan 11, 2022

Is it possible to make a platform specific color declaration which points to another native color value? Suppose I want to use the native labelColor on iOS but fallback to #000/#FFF on web.

I guess src/colors with some Platform.select to handle these cases would work but it would also bloat the catalog with unused colors and would be kind of cumbersome.

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

1 participant