Blame hig/C/icons-and-artwork.page

Packit 1470ea
Packit 1470ea
      type="topic"
Packit 1470ea
      id="icons-and-artwork">
Packit 1470ea
Packit 1470ea
  <info>
Packit 1470ea
    <credit type="author">
Packit 1470ea
      <name>Allan Day</name>
Packit 1470ea
      <email>aday@gnome.org</email>
Packit 1470ea
    </credit>
Packit 1470ea
    <credit type="author">
Packit 1470ea
      <name>Jakub Steiner</name>
Packit 1470ea
    </credit>
Packit 1470ea
    <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
Packit 1470ea
    <desc>Selecting and creating icons.</desc>   
Packit 1470ea
  </info>
Packit 1470ea
Packit 1470ea
<title>Icons and artwork</title>
Packit 1470ea
Packit 1470ea

Icons play an important role in user interfaces: selecting the correct icon is therefore vital to making sure that your application is usable. An identifying icon is also an essential part of any application, and is a crucial part of its identity.

Packit 1470ea
Packit 1470ea
<section id="using-icons">
Packit 1470ea
<title>Using icons in your user interface</title>
Packit 1470ea
Packit 1470ea

There are many situations when it is necessary to decide between using an icon and a text label, particularly for buttons. Icons have the advantage of being smaller, and not requiring translation. At the same time, the incorrect use of an icon can make your interface hard - or even impossible - to understand.

Packit 1470ea
Packit 1470ea
<list>
Packit 1470ea
<item>

Only use icons whose meaning is commonly recognized. If a commonly recognized icon is not available, it might be better to use a text label instead.

Packit 1470ea
<list>
Packit 1470ea
<item>

Convention establishes which icons will be recognized. If you are in doubt, stick to icons which are frequently used in other applications.

</item>
Packit 1470ea
<item>

Consider which icons will be meaningful in the specific context of your application - users of specialist tools will often be familiar with domain-specific symbols.

</item>
Packit 1470ea
</list></item>
Packit 1470ea
<item>

Remember that some icons are only meaningful alongside other icons of the same type. For example, a media icon for stop is simply a square, and may not be identified as a stop icon without other media controls (like play, pause, or skip) being visible close by. Likewise, the icon to remove an item from a list is a subtract symbol (ie. a single line), and will not be recognizable without a corresponding “plus” add icon.

</item>
Packit 1470ea
</list>
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="stock-icons">
Packit 1470ea
<title>Choosing stock GNOME icons</title>
Packit 1470ea
Packit 1470ea

GNOME provides a full set of standard icons. These should be used where ever appropriate; try to avoid creating custom icons unless they are absolutely necessary.

Packit 1470ea
Packit 1470ea

Follow the icon naming specification when selecting which icons to use - the name of the icon should reflect what the icon is intended to communicate. This is important for those using a screen reader.

Packit 1470ea
Packit 1470ea

You can use the GTK+ icon browser to find recommended icons.

Packit 1470ea
Packit 1470ea
<section id="color-vs-symbolic">
Packit 1470ea
<title>Color vs. symbolic icons</title>
Packit 1470ea
Packit 1470ea

GNOME 3 provides two types of icon: full-color and monochrome symbolic icons. The guidelines in this HIG indicate when to use which type of icon. The following is a a general guide.

Packit 1470ea
Packit 1470ea

Full-color icons should be used for:

Packit 1470ea
Packit 1470ea
<list>
Packit 1470ea
<item>

devices

</item>
Packit 1470ea
<item>

filetypes/mimetypes

</item>
Packit 1470ea
<item>

application (launcher) icons

</item>
Packit 1470ea
</list>
Packit 1470ea
Packit 1470ea

All other icons should use the symbolic icon style. In addition, symbolic icons should always be used inside:

Packit 1470ea
Packit 1470ea
<list>
Packit 1470ea
<item>

buttons

</item>
Packit 1470ea
<item>

lists

</item>
Packit 1470ea
<item>

entry fields

</item>
Packit 1470ea
<item>

when the background is semi-transparent (such as overlaid media or fullscreen controls)

</item>
Packit 1470ea
</list>
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="application-icons">
Packit 1470ea
<title>Application icons</title>
Packit 1470ea
Packit 1470ea

Every application should have a unique and beautiful application icon. It is the face of the application, and the first visual element a user sees when browsing for new applications. The <link xref="application-basics">application basics page</link> includes details on what an application is, and when to provide an application icon.

Packit 1470ea
Packit 1470ea

Because application icons are presented at larger sizes, legacy Tango styled 48x48 px or SVG icons no longer suffice (lacking detail). It is essential your application has a 256x256 px icon. With the advent of high-DPI displays, a 512x512 px variant is recommended.

Packit 1470ea
Packit 1470ea
<media type="image" mime="image/png" src="figures/icons/sizes.png"/>
Packit 1470ea
Packit 1470ea

While not as critical, there are still areas where application icons are presented at a small size. To keep the icon sharp and well defined, a specific rendering is required to sizes of 48x48 px, 32x32 px, 24x24 px and 16x16 px. Many GNOME icons also ship a 22x22 px size for legacy reasons, but that isn’t required.

Packit 1470ea
Packit 1470ea
<media type="image" mime="image/png" src="figures/icons/sizes-small-24.png"/>
Packit 1470ea
Packit 1470ea

To maintain crispness, a lot of detail is discarded for the low resolution variants and a 1px stroke is used to outline the silhouette of the object.

Packit 1470ea
Packit 1470ea

More information on designing an application icon can be found below, in the custom full-color icon section.

Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="custom-symbolic-icons">
Packit 1470ea
<title>Custom symbolic icons</title>
Packit 1470ea
Packit 1470ea

Symbolic icons have a simple form and are drawn within a 16x16 pixel grid. They are then programmatically scaled and colored within the user interface itself.

Packit 1470ea
Packit 1470ea
<list>
Packit 1470ea
<item>

Identify a single property when looking for an appropriate metaphor for an icon, and focus on what distinguishes the idea you want to communicate. For example, when describing an action to be performed on an image, it isn’t necessary to repeat the idea of an image in every icon. Instead, focus on what is distinct about each action (for example: rotate, tag, align).

</item>
Packit 1470ea
<item>

Avoid using any perspective in symbolic icons, stick to a simple orthogonal view.

</item>
Packit 1470ea
<item>

Filled shapes are generally faster to process by the human visual system than wireframe outlines.

</item>
Packit 1470ea
<item>

Symbolic icons are recolored at runtime to match the context, very much like a piece of text. While there are ways to “shade” parts of an icon by using opacity or creating duotone/pattern dithering, try avoiding these as much as possible.

</item>
Packit 1470ea
<item>

When a metaphor relies on the negative space, make sure it will work with the colors inverted. For example a camera lens spec/highlight will only work if lighter than the lens itself.

</item>
Packit 1470ea
</list>
Packit 1470ea
Packit 1470ea
<media type="image" mime="image/svg" src="figures/icons/inverting.svg"/>
Packit 1470ea
Packit 1470ea
<section id="size-and-grid">
Packit 1470ea
<title>Size and grid</title>
Packit 1470ea
Packit 1470ea

While the icons are scalable and should work in any size, the basic canvas size is 16x16 grid units. You have the whole canvas to fill, but note that a filled rectangular object will appear stronger/larger when placed next to items that only use thinner strokes. Try to keep the contrast of your whole set.

Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="custom-full-color-icons">
Packit 1470ea
<title>Custom full-color icons</title>
Packit 1470ea
Packit 1470ea

Full-color icons are drawn and rendered at a variety of preset sizes.

Packit 1470ea
Packit 1470ea
<section id="perspective">
Packit 1470ea
<title>Perspective</title>
Packit 1470ea
Packit 1470ea

Most icons can be executed best by using the “on the table” perspective, as if the observer was standing in front of the object and looking slightly down on it. Many icons can be rendered with a simple “straight on” or “on the shelf” perspective, with the observer looking directly at the object at eye level.

Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="palette">
Packit 1470ea
<title>Palette</title>
Packit 1470ea
Packit 1470ea

Use the Tango color palette when designing full color application or device icons.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

Butter

Packit 1470ea
<media type="image" mime="image/svg" src="figures/icons/palette/butter.svg"/>
Packit 1470ea

Plum

Packit 1470ea
<media type="image" mime="image/svg" src="figures/icons/palette/plum.svg"/>
Packit 1470ea
Packit 1470ea
Packit 1470ea

Orange

Packit 1470ea
<media type="image" mime="image/svg" src="figures/icons/palette/orange.svg"/>
Packit 1470ea

Scarlet Red

Packit 1470ea
<media type="image" mime="image/svg" src="figures/icons/palette/scarlet-red.svg"/>
Packit 1470ea
Packit 1470ea
Packit 1470ea

Chocolate

Packit 1470ea
<media type="image" mime="image/svg" src="figures/icons/palette/chocolate.svg"/>
Packit 1470ea

Aluminium

Packit 1470ea
<media type="image" mime="image/svg" src="figures/icons/palette/aluminium1.svg"/>
Packit 1470ea
Packit 1470ea
Packit 1470ea

Chameleon

Packit 1470ea
<media type="image" mime="image/svg" src="figures/icons/palette/chameleon.svg"/>
Packit 1470ea
Packit 1470ea
<media type="image" mime="image/svg" src="figures/icons/palette/aluminium2.svg"/>
Packit 1470ea
Packit 1470ea
Packit 1470ea

Sky Blue

Packit 1470ea
<media type="image" mime="image/svg" src="figures/icons/palette/sky-blue.svg"/>
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

You are free to use different shades of these colors depending on the desired material effect. However, these primary colors are a good baseline to start from. All major libre graphics packages come with the Tango palette pre-installed.

Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="see-also">
Packit 1470ea
<title>See also</title>
Packit 1470ea
Packit 1470ea

<link href="http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines">Tango Icon Guidelines</link>

Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
</page>