Is there any compelling reason for web/common to use a different Color representation to Android/Desktop? (
value class / ULong
vs
data class RGB Hex
); this only makes the two worlds harder to bridge, and there aren't any ready conversion functions that I can see. Couldn't all the color code standardize on
ULong
, and the common Color disclose an Android/Desktop color via
.implementation
?
👍 2
darkmoon_uk
06/15/2021, 6:21 AM
To share colors, current common code situation means rolling your own, for anything except