diff --git a/docs/reference/gtk/css-overview.xml b/docs/reference/gtk/css-overview.xml index 497368c2ce..77562133c7 100644 --- a/docs/reference/gtk/css-overview.xml +++ b/docs/reference/gtk/css-overview.xml @@ -717,7 +717,7 @@ label { GTK+ extends the CSS syntax for images and also uses it for specifying icons. -〈gtk image〉 = 〈gtk gradient〉 | 〈themed icon〉 | 〈scaled image〉 | 〈win32 theme part〉 +〈gtk image〉 = 〈gtk gradient〉 | 〈themed icon〉 | 〈scaled image〉 | 〈recolored image〉 | 〈win32 theme part〉 @@ -806,8 +806,8 @@ label { Using themed icons in CSS +〈recolored image〉 = -gtk-recolored( 〈url〉[, 〈color palette〉] ) + + + + Symbolic icons from the icon theme are recolored according to the + -gtk-icon-palette property. The recoloring is sometimes needed for images + that are not part of an icon theme, and the -gtk-recolor syntax makes + this available. -gtk-recolor requires a url as first argument. The + remaining arguments specify the color palette to use. If the palette + is not explicitly specified, the current value of the -gtk-icon-palette + property is used. + + + + Recoloring an image + + On Windows, GTK+ allows to refer to system theme parts as images, as follows: