## 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<string, string>` (specific to assignedColors only)
Requirement
useColorDecoderis quite confusingdefault-xcolor name to Hex value based on the corresponding theme.useColorsDecoderfunction in the hook which taking thestring[]instead ofRecord<string, string>(specific to assignedColors only)