Closed luisbocanegra closed 9 months ago
Comparison of previous (top) vs port to original TypeScript implementation (bottom)
Scheme variants and chroma control also have been added
Well, maybe not. Just found about https://github.com/T-Dynamos/materialyoucolor-python, which is up to date with material-foundation/material-color-utilities/ so will look into using that instead.
Is your feature request related to a problem? Please describe. Is not really a problem but might be easier to integrate the original JavaScript version of material-color-utilities than trying to update the python version and maybe switch back to it after it hopefully gets updated and merged.
Why?
Doing so could help issue https://github.com/luisbocanegra/kde-material-you-colors/issues/126 and also get support for the other scheme variants (mono, neutral, expressive...). Both of which I was trying to add in saturation-and-brightness and color-schemes branches but in python.
Describe the solution you'd like The idea is to drop material-color-utilities-python and make a helper JavaScript cli that receives the pixels (to keep the image processing in python), custom colors and other things and returns the material colors, similar to the C# version that I used in version v0.8.0 and earlier
Downsides Will need to ship the cli project (with
@material/material-color-utilities
) inside data and obviously depend onnodejs
external dependency to be installed.