https://github.com/manzdev/svg-icons
https://github.com/manzdev/svg-icons
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/manzdev/svg-icons
- Owner: ManzDev
- Created: 2023-04-29T03:10:33.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-29T03:11:07.000Z (about 3 years ago)
- Last Synced: 2025-04-28T18:44:50.504Z (about 1 year ago)
- Language: Shell
- Size: 19.5 KB
- Stars: 30
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SVG Icons
Scripts para generar un mapa de SVG para reutilizar iconos en web. En un mismo fichero tendremos varios iconos svg en etiquetas `` con `id` correspondiente.
Para utilizarlos, sólo tendremos que hacer lo siguiente:
```html
```
## Requisitos
- [svgo](https://github.com/svg/svgo)
- sed
## Uso
```bash
# Optimiza una imagen
optimize original.svg optimized.svg
# Crea un mapa de SVG con todos los iconos de la carpeta
create folder
# Script listo para nuestro caso
generate
```