Extract work item status icon color transformer to color utils

What does this MR do and why?

Moves work item status icon color transformer logic to color_utils.js for better reusability. This will help in reducing diff for !198348 (merged).

References

Screenshots or screen recordings

NA

How to set up and validate locally

  1. Go to an issue for a project where you have custom status enabled.
  2. Set any status and inspect icon color HEX (or RGB) value from DevTools.
  3. Enable dark mode.
  4. Go to same issue and again inspect icon color HEX/RGB, it should be different in dark mode.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading