Skip to content

[FEATURE REQUEST] Verify if the color field matches one of the SVG colors #1688

@Panquesito7

Description

@Panquesito7

I have searched through the issues and didn't find my problem.

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    devopsDevops/automation related enhancementsenhancement

    Type

    No type

    Projects

    Status

    To-do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions