Skip to content

Commit

Permalink
Minify SVG icons (#4181)
Browse files Browse the repository at this point in the history
* Minify SVG icons

Reduces file size = faster loading

Uses: https://svgo.dev/ via command line

`npx svgo --folder=\"src/css/svg/\"`

* Revert "Minify SVG icons"

This reverts commit 6b45b24.

* SVGO pretty printed

* Revert "SVGO pretty printed"

This reverts commit 75a77c0.

* don't remove viewBox property

* Minify SVG icons

Reduces file size = faster loading

Uses: https://svgo.dev/ via command line

`npx svgo --folder=\"src/css/svg/\"`

Revert "Minify SVG icons"

This reverts commit 6b45b24.

SVGO pretty printed

Revert "SVGO pretty printed"

This reverts commit 75a77c0.

don't remove viewBox property
  • Loading branch information
coliff authored May 28, 2024
1 parent cf71a25 commit e1520a6
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 39 deletions.
2 changes: 1 addition & 1 deletion src/css/svg/maplibregl-ctrl-attrib.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/css/svg/maplibregl-ctrl-compass.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/css/svg/maplibregl-ctrl-fullscreen.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/css/svg/maplibregl-ctrl-geolocate.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 10 additions & 14 deletions src/css/svg/maplibregl-ctrl-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/css/svg/maplibregl-ctrl-shrink.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 2 additions & 6 deletions src/css/svg/maplibregl-ctrl-terrain.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/css/svg/maplibregl-ctrl-zoom-in.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/css/svg/maplibregl-ctrl-zoom-out.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e1520a6

Please sign in to comment.