devicons / devicons/devicon

[FEATURE REQUEST]: Automatically optimize icons with SVGO

Open
#1,547 0 comments 0 reactions 1 assignee Claimed by @lunatic-fox View on GitHub
devops enhancement
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

Every contributor has to optimize the icons they add. The main way to do this is following [this](https://github.com/devicons/devicon/issues/1306#issuecomment-1296015861) 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.
1. If we choose to make a GitHub action, the action should be parameterized

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.