Tango Icon Internals and Statistics
So I have been trying to think of a way to change the appearance of all the tango icons in one go. I envision being able to do the following- "Hmm I dont like tango, its a bit blue. What if I replace all the tango blue colours with lighter ones". My understanding is that SVG (or maybe inkscapes's implementation, im not sure) cannot define external stylesheets or palettes for svg files, so if you want to change something in lots of svg files en-masse then you have to grep/sed it.
So my first investigation was to find out how may colours esist in the tango icon theme (remember that the icon palette supplied has just 27 colours)
john@nzjrs-desktop:~/src/tango$ find /home/john/src/tango/tango-icon-theme -name ".svg" -exec egrep -o 'fill:#[a-f0-9]{6,6}' {} \; | sort | uniq | wc -l 151 john@nzjrs-desktop:~/src/tango$ find /home/john/src/tango/tango-icon-theme -name ".svg" -exec egrep -o '#[a-f0-9]{6,6}' {} \; | sort | uniq | wc -l 749
Hmm, this is going to be harder than I thought!