jaredh159 / tailwind-react-native-classnames

simple, expressive API for tailwindcss + react-native
2.08k stars 84 forks source link

FR: Support for arbitrary hsl and hwb colors #317

Open jvliwanag opened 3 months ago

jvliwanag commented 3 months ago

Currently, arbitrary colors are only supported for #, rgb, and rgba. It should make sense to support hsl, hsla, and hwb as well since react native already supports them natively as per docs.

jaredh159 commented 3 months ago

yeah, this makes sense, this comment has been in the codebase a long time:

https://github.com/jaredh159/tailwind-react-native-classnames/blob/master/src/resolve/color.ts#L84

not sure when i'll get to it though, but i'd be open to a PR for sure

jvliwanag commented 3 months ago

Ah great. Will open a PR in the coming days.