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

Read tint color value within HTML file #30

Open
rockdengj opened this issue Oct 27, 2020 · 8 comments
Open

Read tint color value within HTML file #30

rockdengj opened this issue Oct 27, 2020 · 8 comments

Comments

@rockdengj
Copy link

Meaxure can't detect tint color values.

What I want: Create one white icon symbol, tint the symbol to blue(as selected status), only export the white icon, developer reads the blue value within the HTML file.

Is it possible to do so?
Thanks.

@qjebbs
Copy link
Owner

qjebbs commented Oct 27, 2020

I guess you have set the icon to exportable slice. Slice, remember that it's a reusable unit which should export as is. If not (you want tint), do not make it an exportable slice.

@rockdengj
Copy link
Author

I only mark the white symbol as export(which icon I want to export to developer), I have two instances, one white, one tint blue. I want to only export the white one, and let the developer to tint the white one into blue with code.

@qjebbs
Copy link
Owner

qjebbs commented Oct 27, 2020

I see. Does CSS has similar mechanism like Tint? If not, I don't see necessity for developers to see the tint color

@rockdengj
Copy link
Author

The export icon and tint color value are not for web developer, which are for Android developer. You might know the tint function of Android, useful for theming(Change icon to any color).

@qjebbs
Copy link
Owner

qjebbs commented Oct 27, 2020

See.

@rockdengj
Copy link
Author

So... Can I achieve this function with Meaxure?

@qjebbs
Copy link
Owner

qjebbs commented Oct 27, 2020

No now, it could take me some time to implement.

@rockdengj
Copy link
Author

It would be great if implemented. Many thanks to you, qjebbs.

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