SmartToolFactory / Compose-Extended-Colors

🚀🌈♾ Utility library that expands Compose Colors with Material Design2 colors, color swatches, Material Design 3 Tonal Palettes, color names, and utility functions to convert between HSL, HSV, RGB, HCT models and to HEX or from HEX
Apache License 2.0
41 stars 1 forks source link

[FEATURE REQUEST] harmonized tonal palettes #5

Open nxoim opened 1 year ago

nxoim commented 1 year ago

It is easy to just import the material library and do getColorTonesMap(Color(harmonize(Color.Blue.toArgb(), MaterialTheme.colorScheme.primary.toArgb()))), however it would be really nice to have this specific thing built into the library and mentioned somewhere in the readme.

Nobody at all is talking about harmonized color palettes and ive spent hours trying to find a solution until I've stumbled on your library by looking up something unrelated to color harmonization

SmartToolFactory commented 11 months ago

Hi. A little bit late, may i ask what's exactly the feature requested? You want it to be on README if i understand it correctly? There is nothing wrong with the feature?

nxoim commented 11 months ago

Hi. A little bit late, may i ask what's exactly the feature requested? You want it to be on README if i understand it correctly? There is nothing wrong with the feature?

hi. there is nothing wrong with the feature. what i mean is it would be nice to have an implementation of harmonized tonal palettes inside the library itself (including a variant with adjusted saturation which i have done here if you're curious).

right now, to have a harmonized tonal palette, you have to import a whole library, which is inconvenient and inefficient

bogdan-pechounov commented 11 months ago

@Number869 I was having the same problem. I created a library to make using custom harmonized colors easier with a composition local.

compose-custom-colors