[FEATURE REQUEST] Verify if the `color` field matches one of the SVG colors
- Dominant language
- CSS
- Stars
- 11.8k
- Forks
- 2.4k
- Avg merge
- 5d 9h
- Merged PRs (30d)
- 4
Description
### I have searched through the issues and didn't find my problem.
- [X] Confirm
### Problem
It'd be great if there's a workflow that checks the `color` field and makes sure it matches one of the colors in the SVG.
If we optimize the icons, the colors will be always in HEX format, rather than RGB format, which can make it easier.
This will also prevent the maintainers the need to check the color manually.
They should still check it to see if it's a well-chosen color, though.
### Possible Solution
Add a workflow that checks the `color` field of a newly added icon, and if it matches one of the SVG (non-font) colors, it will pass, otherwise, fail.
### Additional information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.