Skip to content

Commit

Permalink
Merge pull request #1028 from ZeLonewolf/zlw-svg-grid
Browse files Browse the repository at this point in the history
Developer script for overlaying grids on icons
  • Loading branch information
ZeLonewolf authored Mar 31, 2024
2 parents eb64893 + 21dad61 commit c378e98
Show file tree
Hide file tree
Showing 4 changed files with 663 additions and 71 deletions.
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,12 @@ The MUTCD’s standard colors are designed for high-contrast backgrounds and leg

See the [developer tools](dev/README.md) for an importable, Inkscape-compatible palette file.

### Icon Grid Alignment

There is a utility script called icon_grid that will generate a pixel grid on an SVG. This can be used to check how well the icon will align to the pixel grid. Run this utility as follows:

`npm run icon_grid -- icons/poi_fuel.svg`

### Font Sizes

Shields should target 8-14px text actual-size character heights for readability:
Expand Down
Loading

0 comments on commit c378e98

Please sign in to comment.