With changes from 4e07514
Some elements without id were being listed (using their CSS classes)
and their corresponding SVG files were removed
This reverts those lines making sure that icons within insert shapes
menu or fontwork are not missing anymore.
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4d1ad6a0f2124867ea47c8ca5c0c636aa5646143
- This commit fixes#5052
- Files which were directly in `/browser/images` were the only ones I
considered in-scope for this (not files in `/browser/images/dark` as I
did not want any aliasing there to influence light theme)
- Files which weren't named `lc_*.svg` were not considered for this, as
the function with the alias list transformed the names into that
format
- Dupes were found with `find . ! -empty -type f -exec md5sum {} + | sort | uniq -w32 -d --all-repeated=separate`
It is possible (although unlikely) that there was a hash collision and
I incorrectly aliased an image. The names I was aliasing seemed sane
though, so I doubt this was the case.
- I changed the behavior of the aliases object such that it is *after*
the lowercasing of the name and not before; this was so that I didn't
have to worry about if capitals were used (as there were some SVGs
with different combinations of underscores etc. and I didn't want to
assume they all always needed to be in CamelCase)
Signed-off-by: Skyler Grey <skyler3665@gmail.com>
Change-Id: I4d7972900195edeaa8f5f8941d18ab556319a7f7