Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
apps:notifyd:theming [2019/08/03 12:25] – [Examples] added note about using css files. kevinbowenapps:notifyd:theming [2019/08/03 12:47] – [Overview] grammar improvement kevinbowen
Line 3: Line 3:
 //**Note:** If you want to create a notification theme you will - due to backward-compatibility breakage - have to take into account which version of Gtk+3 the users of your theme will most likely use or have installed.// //**Note:** If you want to create a notification theme you will - due to backward-compatibility breakage - have to take into account which version of Gtk+3 the users of your theme will most likely use or have installed.//
  
-Generally speaking if you want to create a theme for Xfce4-notifyd you have to override the styles of the currently in-use Gtk theme as good and completely as you can to ensure the user-experience will be consistent with all base themes. So if for example the user uses ''Adwaita'' (the built-in Gtk+3 default theme) you will have to at least define everything this theme has in the specific widget styles (see the list of items to match below) to ensure your style will take complete precedence.+Generally speakingif you want to create a theme for Xfce4-notifyd you have to override the styles of the currently in-use Gtk theme as completely as you can to ensure the user-experience will be consistent with all base themes.  
 + 
 +Sofor example, if the user uses ''Adwaita'' (the built-in Gtk+3 default theme) you will have to define everything this theme has in the specific widget styles (see the list of items to match below) to ensure your style will take complete precedence.
  
 **Example:** ''Adwaita'' defines the ''osd'' class shall have a black background and a white foreground color and you only set ''background-color: #ecde00'' (which is yellow) the notification messages will likely be unreadable. **Example:** ''Adwaita'' defines the ''osd'' class shall have a black background and a white foreground color and you only set ''background-color: #ecde00'' (which is yellow) the notification messages will likely be unreadable.