5 Commits (isekai)

Author SHA1 Message Date
Volker E b5fffd977d build: Update SVGO to latest v2.3.0 and re-crush SVGs
SVGO v2.x changed configuration to JS, amending configuration.
Adding new 'minify-svg' npm script.
Also re-crushing SVGs.

Bug: T278656
Change-Id: I63ed0974eab40c4d6cd5198f780bfd3466357a0d
4 years ago
Isarra 808c317293 Clean up and/or optimise icons a bit
* svgo on everything
* Line up some pixel borders more
* Use transparent for the grey amount
* Fix a couple of overflows on icon css

Change-Id: Ic56b65d71ae08cf71048ad5efdfa7e65a749f680
5 years ago
Thiemo Kreuz dff12e2ce5 Manually optimize all SVG images
I applied a series of manual optimizations, most notably:
* Remove unused IDs.
* Remove attributes with standard values, e.g. opacity="1" is the
  default anyway.
* Remove attributes that don't have an effect, e.g. font styling
  where no fonts are used, or stroke attributes when there is no
  stroke anyway.
* Replace millimeters with pixels.
* I also tried to remove most translations. A lot of files had all
  their coordinates offset by -1032.362. I gave up for a few files.
  It might be worth looking into these later.
* brackets-grey.svg not only had a translation applied, but a
  non-standard viewBox as well. I wrote a tiny script to re-calculate
  all the numbers in this file. As a result it's much more crisp now.

Note that some of these optimizations might alter the appearence of
the image. I mean, they shouldn't, but better check each file manually
before merging this patch.

I did not touched the two files "cat-grey.svg" (I assume this is a
placeholder) as well as "editing icons.svg" (seems to be a temporary
file that should be removed).

Change-Id: Ie2dadef9d5979b563aa0ed0f5d8a69c534b76a4e
6 years ago
Volker E 94e7fe7f7f build: Add Grunt 'svgmin' task and crush SVGs
Adding 'grunt-svgmin' package and corresponding 'svgmin' task and
also crush SVGs. Additionally remove unnecessary attributes like
`version` & `id`s and Inkscape specific styles according to SVG
coding conventions.
Total savings about 75kB.

Change-Id: Id3a6e73d648693f21633fac123db0f26e6502a03
6 years ago
Isarra f450f7e13b Make this thing responsive
And some other stuff too just because I ran into it on the way:
* Added indicators
* Fixed js in general
* Bumped version number
* Added some stupid hacks
* Cleaned stuff up
* I don't actually know

Change-Id: Ifa557c6f0f8a972d8986c3bffdfe08ddb4b39664
9 years ago