material-foundation / material-color-utilities

Color libraries for Material You
Apache License 2.0
1.67k stars 144 forks source link

Easy access to material Design colors #63

Closed guyluz11 closed 1 year ago

guyluz11 commented 1 year ago

There is no package for dart native to get material colors.

In Flutter you can get colors like this Colors.orange using the Flutter package material.

image

Can we add a way to use the colors?.

We can use Colors.orange like in the packge or change it so that it will not collide inside Flutter projects.

guidezpl commented 1 year ago

Thanks for filing, we don't have plans to make these Material 1 and 2 colors available since Material 3 is the current version. Therefore, closing this issue.

guyluz11 commented 1 year ago

Just to make sure I understand. Using this package I can't pick a single color from Material 3 (similar to using Colors.orange) since Material 3 always generates color from something like an image.

There is no set of colors for the programmer to choose to use in material 3, only primary secondary etc.

It is not important for me to use specifically Material 1 or 2 colors, but I do need a list of the latest set of colors that google provide. I am searching for a list of colors that I can use in dart and pick a random color from the list, and all the colors can be called by their names and not implement hex values for each color.

guidezpl commented 1 year ago

So that's the thing, Material 3 doesn't provide a set of colors. So it's up to you to create a list of your desired color options.

guyluz11 commented 1 year ago

Ok thanks 👍