ajalt / colormath

Multiplatform Kotlin color conversion and manipulation
https://ajalt.github.io/colormath/
MIT License
308 stars 21 forks source link

Make Jetpack Compose extension multiplatform #27

Closed jakobkmar closed 1 year ago

jakobkmar commented 2 years ago

The Jetpack Compose extension seems to be Android only at the moment, but Compose Color is actually multiplatform and defined in the commonMain part of compose.ui.graphics.

Therefore I don't see the need for this extension to be Android only here. Making it multiplatform would allow the extension to be used for compose-jb as well.

Thanks in advance!

ajalt commented 2 years ago

That's a good idea. I'd welcome a PR.

ajalt commented 1 year ago

Thanks for the suggestion, I implemented this in 4b1f896