Closed symbioquine closed 1 year ago
For future reference my process for standardizing/minifying the svg icons @gbathree provided was as follows;
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24">
stroke="currentColor"
(only needed when a different fill color is also used)stroke-linecap="round" stroke-linejoin="round"
, style="-inkscape-stroke:none"
, unused fill colors and stroke widths, etcJust make sure to change the Gin accent color and see that it updates the map. I think our green colors are similar so it might be hard to notice this otherwise.
Good point! Thanks!
The force-pushed changes do the following;
polygon
, circle
, and edit
icons - line
and point
are left unchanged.polygon
icon uses fill="currentColor"
on the border path so that it will use the page color scheme like the other new icons.line
, move
and delete
icons to use fill="currentColor"
so they too will use the page color scheme.Current HEAD (without these changes):
New Version:
LGTM! Thanks @symbioquine!!
Motivation
Ref: https://github.com/farmOS/farmOS-map/pull/152#issuecomment-1111076643
See previous/related issues;
146
152
Before:
After:
Build output before:
Build output after: