Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Support for arbitrary hsl and hwb colors #317

Open
jvliwanag opened this issue Aug 8, 2024 · 2 comments
Open

FR: Support for arbitrary hsl and hwb colors #317

jvliwanag opened this issue Aug 8, 2024 · 2 comments

Comments

@jvliwanag
Copy link

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
Copy link
Owner

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants