devsoc-unsw / devsoc-unsw/notangles
Refactor useColorDecoder Hook
Open
🐞 bug 🐛
- Dominant language
- TypeScript
- Stars
- 79
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
## Requirement
- `useColorDecoder` is quite confusing
- Original purpose of the hook function is for converting `default-x` color name to Hex value based on the corresponding theme.
- Refactor the `useColorsDecoder` function in the hook which taking the `string[]` instead of `Record` (specific to assignedColors only)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.