devsoc-unsw / devsoc-unsw/notangles

Refactor useColorDecoder Hook

Open
#1,047 0 comments 0 reactions 1 assignee Claimed by @jason4193 View on GitHub
🐞 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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.