Skip to content

fix: hsla type color alpha value is not available#769

Merged
marklawlor merged 3 commits intonativewind:mainfrom
JinYuSha0:fix/hsla
Feb 13, 2024
Merged

fix: hsla type color alpha value is not available#769
marklawlor merged 3 commits intonativewind:mainfrom
JinYuSha0:fix/hsla

Conversation

@JinYuSha0
Copy link
Contributor

hsla has wrong color format causing hsla with alpha value not to display anything
The correct format should be:
'hsla(360, 100%, 100%, 1.0)'
'hsla(360 100% 100% / 1.0)'
hue-saturation-lightness-hsl
The current format is:
'hsla(360 100% 100% 1.0)'

@vercel
Copy link

vercel bot commented Jan 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nativewind ✅ Ready (Inspect) Visit Preview Feb 13, 2024 1:19am

@JinYuSha0 JinYuSha0 changed the title fix: hsla alpha unavailable fix: hsla type color alpha value is not available Jan 25, 2024
@studio-hills
Copy link

Also running into this issue. For now i've converted my hsl values to hex.
Would love to see this PR merged.

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

Successfully merging this pull request may close these issues.

3 participants