material-color-utilities icon indicating copy to clipboard operation
material-color-utilities copied to clipboard

Make Hct.toInt() public

Open nicholaslythall opened this issue 7 months ago • 1 comments

The toInt() method of Hct, which returns the RGBA representation only has package visibility, where as it's other properties (e.g hue, chroma, and tone) are public. This means that when consuming this repo as a SPM dependency it's possible to create a Hct value from an RGBA value and modify it, but it's not possible to convert it back to an RGBA value.

This repo is not currently accepting external contributions, but feature requests and bug reports are very welcome!

nicholaslythall avatar Jun 28 '24 03:06 nicholaslythall