Changes

Jump to navigation Jump to search
no edit summary
Line 76: Line 76:  
===The Script===
 
===The Script===
   −
In order to streamline the process of creating sugar compatible icons, we provide the [[media: sugar-iconify.py  | sugar-iconify]] script.  This script takes an SVG file as input and outputs a new SVG (or SVGs) containing the proper entity definitions.  It offers a number of command-line flags for performing variations on this process to fit smoothly into your workflow.  You can view all of the available options by running <tt>sugar-iconify -h</tt> from the command line, or by viewing the dedicated [[Sugar-iconify | usage page]].  Some specific examples and use cases are illustrated below in more detail.
+
In order to streamline the process of creating sugar compatible icons, we provide the [[olpc:media: sugar-iconify.py  | sugar-iconify]] script.  This script takes an SVG file as input and outputs a new SVG (or SVGs) containing the proper entity definitions.  It offers a number of command-line flags for performing variations on this process to fit smoothly into your workflow.  You can view all of the available options by running <tt>sugar-iconify -h</tt> from the command line, or by viewing the dedicated [[olpc:Sugar-iconify | usage page]].  Some specific examples and use cases are illustrated below in more detail.
    
=====Download=====
 
=====Download=====
Line 126: Line 126:  
====Inserting Entity References====
 
====Inserting Entity References====
   −
Next, we have to make use of the defined entities by replacing all occurrences of those colors within the body of the SVG.  Entity references begin with an ampersand (&) an end with a semi-colon (;), with their name in the middle (eg. <tt>&stroke_color;</tt>). Note that if we had a more complex SVG, it may be appropriate to set some  fills to the stroke color, and some strokes to the fill color, within the rules set forth in the HIG for [[Design_Team/Human_Interface_Guidelines/The_Sugar_Interface/Icons#Strokes_.26_Fills | strokes and fills]]
+
Next, we have to make use of the defined entities by replacing all occurrences of those colors within the body of the SVG.  Entity references begin with an ampersand (&) an end with a semi-colon (;), with their name in the middle (eg. <tt>&stroke_color;</tt>). Note that if we had a more complex SVG, it may be appropriate to set some  fills to the stroke color, and some strokes to the fill color, within the rules set forth in the HIG for [[Human_Interface_Guidelines/The_Sugar_Interface/Icons#Strokes_.26_Fills | strokes and fills]]
    
  <nowiki>
 
  <nowiki>

Navigation menu