• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

gnome/scalable/H06-Mar-2014-

src/H03-May-2022-490403

AUTHORSH A D06-Mar-2014266 1210

COPYINGH A D06-Mar-2014409 86

Makefile.amH A D06-Mar-20141.1 KiB4735

Makefile.inH A D03-May-202226.7 KiB835738

NEWSH A D25-Mar-20143.7 KiB181142

READMEH A D06-Mar-20143.1 KiB6953

aclocal.m4H A D25-Mar-201435.7 KiB1,003898

configureH A D25-Mar-2014117.7 KiB4,0183,258

configure.acH A D25-Mar-20142.2 KiB7963

gnome-icon-theme-symbolic.pc.inH A D06-Mar-2014154 76

install-shH A D25-Mar-201413.7 KiB528351

missingH A D25-Mar-20146.7 KiB216143

README

1GNOME Symbolic Icons
2====================
3
4Purpose of this icon theme is to extend the base icon theme that follows the
5Tango style guidelines for specific purposes. This would include OSD messages,
6panel system/notification area, and possibly menu icons.
7
8Icons follow the naming specification, but have a -symbolic suffix, so only
9applications specifically looking up these symbolic icons will render them. If
10a -symbolic icon is missing, the app will fall back to the regular name.
11
12Primitive build instructions
13============================
14
15Running the r.rb script will chop up the "source" SVG into individual icons. Part of the process is converting paths strokes into objects. This is for the external stylesheet to work at gtk3 runtime. This means objects that rely on this conversion need to be undgrouped inside the master group.
16
17Targets
18=======
19
20Here's places that should make use of this style (and look up icons as
21-symbolic).
22
23	* Panel systray (and gnome-shell equivalents)
24	* Nautilus' sidebar eject emblem for mounted drives
25	* OSD (volume levels, display, eject etc)
26	* text input widgets (caps lock warning, clear icons)
27
28HOWTO
29=====
30
31The whole set is maintained in a single SVG, src/gnome-stencils.svg. Each
32context (apps, actions, mimetypes...) lives inside an Inkscape layer (group).
33Any group inside that layer is treated as an icon and will be exported into the
34gnome/scalable/<context>/<inkscape:label>-symbolic.svg of the group. This
35export is handled by using Inkscape's verbs, which means it will pop up
36Inkscape GUI at you and will take ages.
37
38The best way to assure your icon will be precisely 16x16, is to include a blank
39rectangle in the group. This rectangle, as long as it is 16 pixels wide and
40high, will be removed by the crop script. To name the group, open up the object
41properties dialog (Ctrl+Shfit+O) and use the 'label' field. Do not add the
42-symbolic suffix there, that will be done by the script. Also, don't nest groups
43too much inside the main one. The script will only convert outlines properly down
44to two subgroups.
45
46Recoloring
47----------
48The color of the icon set is defined at runtime by the gtk theme. Every single
49icon from the set is actually embedded inside an xml container that has a
50stylesheet overriding the colors.
51
52There is a couple of things the icon author needs to be aware of and a few
53things s/he can make use of. The stylesheet is setting the color of the fill
54for all rectangles and paths. _DO_NOT_ leave any rectangles or paths with no
55fill/stroke thinking it's invisible.
56
57Note that the export script in gnome-icon-theme-symbolic will convert strokes
58to paths, so you will need to do this manually (Path -> Stroke to Path in
59inkscape) if you ship an icon outside of gnome-icon-theme-symbolic.
60
61If you need colorize specific part of an icon you need to set a class of that
62object. In inkscape 0.47 this is sadly only achievable by selecting the object,
63going into the xml editor and creating a new attribute 'class' and setting its
64value. There are currently 3 possible values:
65
66- warning - this maps to gtk @warning_color
67- error - maps to @error_color
68- success - maps to @success_color
69