Skip to content

[FEATURE REQUEST]: Automatically optimize icons with SVGO #1547

@Snailedlt

Description

@Snailedlt

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

  • Confirm

Problem

Every contributor has to optimize the icons they add. The main way to do this is following this guide, to optimize the icons using SVGOMG (a SVGO UI tool). It would be much better if this process was automated

Possible Solution

Make a workflow to optimize icons using SVGO. If there is no GitHub Action to do this already, we should consider making one.

1.The workflow should use the same options that are recommended in the aforementioned guide.

  1. The workflow should optimize all .svg icons in a automatically on each push to the PR branch.
  2. If we choose to make a GitHub action, the action should be parameterized

Additional information

No response

Metadata

Metadata

Assignees

Labels

devopsDevops/automation related enhancementsenhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions