GeekyAnts / GeekyAnts/NativeBase

useToken is not process alpha

Open
#5,370 2 comments 1 reaction 0 assignees View on GitHub
bug triage v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### Description

useToken is not process the alpha value

### CodeSandbox/Snack link

https://codesandbox.io/s/lucid-violet-5z73uf?file=/src/components/Example.tsx

### Steps to reproduce

code is simple like this
```
const [redColor, redColorWithAlpha] = useToken("colors", [
"red.400",
"red.400:alpha.50"
]);
console.log(redColor)
console.log(redColorWithAlpha]);
//output: #f87171
//output: red.400:alpha.50 <---redColorWithAlpha is not process correctly
```

### NativeBase Version

3.4.0

### Platform

- [ ] Android
- [ ] CRA
- [ ] Expo
- [X] iOS
- [ ] Next

### Other Platform

_No response_

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.