source: subversion/applications/share/map-icons/svg-twotone/recolour.sh @ 10858

Last change on this file since 10858 was 10593, checked in by twain, 11 years ago

Initial commit of new svg icons and scripts to convert them to png

  • Property svn:executable set to *
File size: 386 bytes
Line 
1#!/bin/bash
2
3# $1 filename
4# $2 background fill
5# $3 background stroke
6# $4 forground
7
8sed "s/fill:#111111/fill:${2};/g" < $1 | sed "s/fill:#111;/fill:${2};/g" | sed "s/stroke:#eeeeee/stroke:${3};/g" | sed "s/stroke:#eee;/stroke:${3};/g" | sed "s/fill:white/fill:${4};/g" | sed "s/stroke:white/stroke:${4};/g" | sed "s/fill:#ffffff/fill:${4};/g" | sed "s/stroke:#ffffff/stroke:${4};/g"
Note: See TracBrowser for help on using the repository browser.