Difference between revisions of "Human Interface Guidelines/The Sugar Interface/Icons"

From Sugar Labs
Jump to navigation Jump to search
 
(→‎Strokes & Fills: emphasize link)
 
(22 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
<div style="background-color: #FFF; margin-left:auto; margin-right: auto; width: 95%;">
 
<div style="background-color: #FFF; margin-left:auto; margin-right: auto; width: 95%;">
 +
<noinclude>{{Translations}}{{GoogleTrans-en}}</noinclude>
 
{{hig-subnav-intra|p_page=Layout Guidelines|c_section=The Sugar Interface|c_page=Icons|n_page=Colors}}
 
{{hig-subnav-intra|p_page=Layout Guidelines|c_section=The Sugar Interface|c_page=Icons|n_page=Colors}}
 +
{{TOCright}}
 +
===Icons===
  
===Icons===
 
 
====Categories of Icons====
 
====Categories of Icons====
 
=====The XO=====
 
=====The XO=====
  
[[Image:xo_s.png|left]]
+
{| cellpadding="5px"
 
+
|<span class="plainlinks linkgroup">[{{fullurle:olpc:Image:xo_s.png}} http://wiki.laptop.org/images/b/ba/Xo_s.png]</span>
 +
|
 
The icons which represent People have special status on the laptops.  Referred to generally as the XOs, they represent the children and their laptops on the mesh Neighborhood, and furthermore represent the OLPC project and its goals to place a laptop in the hands of every child.  Each child will select a stroke and fill color for their XO, and their chosen colors will then apply to the icons of any Activities or Objects they create.
 
The icons which represent People have special status on the laptops.  Referred to generally as the XOs, they represent the children and their laptops on the mesh Neighborhood, and furthermore represent the OLPC project and its goals to place a laptop in the hands of every child.  Each child will select a stroke and fill color for their XO, and their chosen colors will then apply to the icons of any Activities or Objects they create.
 +
|}
  
 
=====Activity Icons=====
 
=====Activity Icons=====
  
 
=====Object Icons=====
 
=====Object Icons=====
 
+
{| cellpadding="5px"
[[Image: clipping.png|left]]
+
|<span class="plainlinks">[{{fullurle:olpc:Image:clipping.png}} http://wiki.laptop.org/images/7/72/Clipping.png]</span>
 
+
|
 
=====Action Icons=====
 
=====Action Icons=====
  
 
====Active vs. Inactive Icons====
 
====Active vs. Inactive Icons====
 +
|}
 
Many instances may arise in which some elements of the interface are inactive.  Sugar specifies a consistent visual style to represent the concepts of absence and inactivity.  Inactive elements are buttons that are not currently actionable, or controls that are temporarily disabled.  Absent elements are object icons that represent people or things which aren't actually present at the moment; for instance, an incomplete download, or an invited friend who hasn't yet joined the activity.
 
Many instances may arise in which some elements of the interface are inactive.  Sugar specifies a consistent visual style to represent the concepts of absence and inactivity.  Inactive elements are buttons that are not currently actionable, or controls that are temporarily disabled.  Absent elements are object icons that represent people or things which aren't actually present at the moment; for instance, an incomplete download, or an invited friend who hasn't yet joined the activity.
  
Line 34: Line 39:
  
 
=====Icon Sizes=====
 
=====Icon Sizes=====
 
+
{| cellpadding="5px"
[[Image: standard_icon_size.png|thumb|105px|left]]
+
|<span class="plainlinks">[{{fullurle:olpc:Image:Standard_icon_size.png}} http://wiki.laptop.org/images/thumb/d/d9/Standard_icon_size.png/105px-Standard_icon_size.png]</span>
Icons should be developed and saved at Standard (S) size, though their actual size and appearance in the interface may change dynamically.  When developed at standard size, icons should fit loosely within the 3 x 3 icon-safe subcell of a standard 75px grid cell, as specified in the [[OLPC Human Interface Guidelines/The Sugar Interface/Layout Guidelines|layout section]].
+
|
 +
Icons should be developed and saved at Standard (S) size, though their actual size and appearance in the interface may change dynamically.  When developed at standard size, icons should fit loosely within the 3 x 3 icon-safe subcell of a standard 75px grid cell, as specified in the [[Human Interface Guidelines/The Sugar Interface/Layout Guidelines|layout section]].
  
 
Notice that when the interface scales your icons, strokes do not necessarily scale proportionally to the overall icon size.  This ensures that the stroke weight remains visible enough at all sizes to convey its weight and color, but it may also limit the granularity with which you use strokes, which could begin to blend together at smaller sizes.  The following chart relates the various icon sizes to their corresponding scale factors and stroke weights.  We strongly suggest that you try rendering your icons at XS, S, and M sizes in order to tweak their appearance for optimal legibility.
 
Notice that when the interface scales your icons, strokes do not necessarily scale proportionally to the overall icon size.  This ensures that the stroke weight remains visible enough at all sizes to convey its weight and color, but it may also limit the granularity with which you use strokes, which could begin to blend together at smaller sizes.  The following chart relates the various icon sizes to their corresponding scale factors and stroke weights.  We strongly suggest that you try rendering your icons at XS, S, and M sizes in order to tweak their appearance for optimal legibility.
 +
|}
  
 
{|border=1 cellpadding=1 cellspacing=0 style="margin: 1em auto 1em auto; border: 1px #666666 solid; border-collapse: collapse; background: #f9f9f9;"
 
{|border=1 cellpadding=1 cellspacing=0 style="margin: 1em auto 1em auto; border: 1px #666666 solid; border-collapse: collapse; background: #f9f9f9;"
Line 46: Line 53:
 
|XS
 
|XS
 
|0.5
 
|0.5
|2.25pt
+
|2.25px
 
|-style="background: #e9e9e9;"
 
|-style="background: #e9e9e9;"
 
|S
 
|S
 
|1.0
 
|1.0
|3.5pt
+
|3.5px
 
|-
 
|-
 
|M
 
|M
 
|1.5
 
|1.5
|4.0pt
+
|4.0px
 
|-
 
|-
 
|L
 
|L
 
|2.0
 
|2.0
|4.5pt
+
|4.5px
 
|-
 
|-
 
|XL
 
|XL
 
|2.75
 
|2.75
|6.0pt
+
|6.0px
 
|}
 
|}
  
Line 74: Line 81:
 
All icons render in two colors: stroke and fill.  The actual stroke and fill colors that an icon renders in are determined by the children, since they correspond to the colors they have chosen for their XOs.  As such, the colors in which you choose to save your icon are arbitrary.  However, note that any fills that have the same color as your strokes will dynamically take on their color when rendered.
 
All icons render in two colors: stroke and fill.  The actual stroke and fill colors that an icon renders in are determined by the children, since they correspond to the colors they have chosen for their XOs.  As such, the colors in which you choose to save your icon are arbitrary.  However, note that any fills that have the same color as your strokes will dynamically take on their color when rendered.
  
All strokes within an "S" activity icon must have a line weight of 3.5pt. All icons should have a primary fill which represents its overall shape.  In addition, any number of supplemental strokes and fills may be used; not all strokes within an icon must have fills, and not all fills must have strokes.
+
All strokes within an "S" activity icon must have a line weight of 3.5px. All icons should have a primary fill which represents its overall shape.  In addition, any number of supplemental strokes and fills may be used; not all strokes within an icon must have fills, and not all fills must have strokes.
  
 +
See these '''[[Development_Team/Almanac/Making_Icons|detailed instructions for making icons]]'''.
  
 
{{hig-subnav-intra|p_page=Layout Guidelines|c_section=The Sugar Interface|c_page=Icons|n_page=Colors}}
 
{{hig-subnav-intra|p_page=Layout Guidelines|c_section=The Sugar Interface|c_page=Icons|n_page=Colors}}
 +
</div>

Latest revision as of 17:59, 25 January 2014

english | español | 한국어 HowTo [ID# 91240]  +/-  

Icons

Categories of Icons

The XO
Xo_s.png

The icons which represent People have special status on the laptops. Referred to generally as the XOs, they represent the children and their laptops on the mesh Neighborhood, and furthermore represent the OLPC project and its goals to place a laptop in the hands of every child. Each child will select a stroke and fill color for their XO, and their chosen colors will then apply to the icons of any Activities or Objects they create.

Activity Icons
Object Icons
Clipping.png
Action Icons

Active vs. Inactive Icons

Many instances may arise in which some elements of the interface are inactive. Sugar specifies a consistent visual style to represent the concepts of absence and inactivity. Inactive elements are buttons that are not currently actionable, or controls that are temporarily disabled. Absent elements are object icons that represent people or things which aren't actually present at the moment; for instance, an incomplete download, or an invited friend who hasn't yet joined the activity.

Generally, interfaces represent such inactivity through grayed out imagery. Of course, since the laptop also operates in grayscale mode, such a color distinction must not be used under any circumstances. Instead, Sugar will take advantage of the vector graphics used for rendering objects and buttons by rendering inactive ones as a white outlined stroke, with no fill color.

Active
Inactive

Icon Design Guidelines

Icon Format

All icons designed for use in Sugar must be provided in SVG format. Since all icons exist as vectors, dynamic scaling and coloring of the icons occurs without any degradation. This allows variably sized representations of particular icons to exist depending on context in the interface. Additionally, this provides support for dynamic coloring of activity and object icons based upon a child's chosen XO colors.

Icon Sizes
105px-Standard_icon_size.png

Icons should be developed and saved at Standard (S) size, though their actual size and appearance in the interface may change dynamically. When developed at standard size, icons should fit loosely within the 3 x 3 icon-safe subcell of a standard 75px grid cell, as specified in the layout section.

Notice that when the interface scales your icons, strokes do not necessarily scale proportionally to the overall icon size. This ensures that the stroke weight remains visible enough at all sizes to convey its weight and color, but it may also limit the granularity with which you use strokes, which could begin to blend together at smaller sizes. The following chart relates the various icon sizes to their corresponding scale factors and stroke weights. We strongly suggest that you try rendering your icons at XS, S, and M sizes in order to tweak their appearance for optimal legibility.

Icon Size Comparison Chart
Icon Size Scaling Factor Stroke Weight
XS 0.5 2.25px
S 1.0 3.5px
M 1.5 4.0px
L 2.0 4.5px
XL 2.75 6.0px
Strokes & Fills
API Reference
Module: sugar.shell.view.stylesheet

All icons render in two colors: stroke and fill. The actual stroke and fill colors that an icon renders in are determined by the children, since they correspond to the colors they have chosen for their XOs. As such, the colors in which you choose to save your icon are arbitrary. However, note that any fills that have the same color as your strokes will dynamically take on their color when rendered.

All strokes within an "S" activity icon must have a line weight of 3.5px. All icons should have a primary fill which represents its overall shape. In addition, any number of supplemental strokes and fills may be used; not all strokes within an icon must have fills, and not all fills must have strokes.

See these detailed instructions for making icons.