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

Generate color theme from image #1100

Open
alexwohlbruck opened this issue Oct 25, 2017 · 4 comments
Open

Generate color theme from image #1100

alexwohlbruck opened this issue Oct 25, 2017 · 4 comments
Labels

Comments

@alexwohlbruck
Copy link

An API built-in to Vue Material that extracts a color palette and theme from a given image (Palette, Android) would be super useful. Right now the only JS library that does this is Vibrant.js, but it's frankly not very good compared to Android's native implementation of this. I think this framework would greatly benefit from an API like this.

I'm not sure if this technique is mentioned in the Material guidelines, but Google has shown off lots of example designs using it.

example

@marcosmoura
Copy link
Member

This is a great idea. I started to explore something in this area. Right now, what we have is the ability to pick the correct ratio of bightness/constrast of an image and decide if we need to show a gradient background or not. This is implemented inside cards logic. I will definitely take a look at some implementations about that. I do not plan to use another framework inside Vue Material, to bloat inside the final bundle. But I will take a look at this! :)

@megrxu
Copy link

megrxu commented Oct 27, 2017

I think this feature could be really impressive. 😋

@Samuell1 Samuell1 closed this as completed Dec 3, 2017
@Samuell1 Samuell1 reopened this Dec 3, 2017
@Samuell1
Copy link
Member

Samuell1 commented Dec 4, 2017

Soon will be available!
obrazok

@alexwohlbruck
Copy link
Author

It seems like this feature was pretty much finished but never got to master. Commenting three years later haha, wonder if we could merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants