Wednesday

Two Themes

Here are two gtk themes that I created for use with xubuntu. The first one depends on the clearlooks engine: # Xedgy-Clearlooks theme for Xubuntu # Based on Clearlooks # Created by Peter Durrill. style "clearlooks-default" { GtkButton ::default_border = { 0, 0, 0, 0 } GtkRange ::trough_border = 0 GtkPaned ::handle_size = 6 GtkRange ::slider_width = 15 GtkRange ::stepper_size = 15 GtkScrollbar ::min_slider_length = 30 GtkCheckButton ::indicator_size = 12 GtkMenuBar ::internal-padding = 0 GtkTreeView ::expander_size = 14 GtkExpander ::expander_size = 16 xthickness = 1 ythickness = 1 fg[NORMAL] = "#101010" # dark grey fg[PRELIGHT] = "#101010" # dark grey fg[ACTIVE] = "#000000" # black fg[SELECTED] = "#ffffff" # white fg[INSENSITIVE] = "#aaaaaa" # dark white / grey bg[NORMAL] = "#f5f5f5" # white / light grey bg[PRELIGHT] = "#ffffff" # white bg[ACTIVE] = "#f0f0f0" # mid white / light grey bg[SELECTED] = "#51739c" # blue bg[INSENSITIVE] = "#f5f5f5" # white / light grey base[NORMAL] = "#f5f5f5" # white / light grey base[PRELIGHT] = "#51739c" # blue base[ACTIVE] = "#aaaaaa" # dark white / light grey base[SELECTED] = "#51739c" # blue base[INSENSITIVE] = "#f5f5f5" # white / light grey text[NORMAL] = "#000000" # black text[PRELIGHT] = "#000000" # black text[ACTIVE] = "#ffffff" # white text[SELECTED] = "#ffffff" # white text[INSENSITIVE] = "#aaaaaa" # dark white / light grey engine "clearlooks" { menubarstyle = 2 # 0 = flat, 1 = sunken, 2 = flat gradient menuitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button) listviewitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient) progressbarstyle = 0 # 0 = candy bar, 1 = flat } } style "clearlooks-wide" = "clearlooks-default" { xthickness = 2 ythickness = 2 } style "clearlooks-button" = "clearlooks-default" { xthickness = 3 ythickness = 3 } style "clearlooks-check" = "clearlooks-button" { text[NORMAL] = "#336699" # blue text[PRELIGHT] = "#6699cc" # blue } style "clearlooks-notebook" = "clearlooks-wide" { bg[NORMAL] = "#f0f0f0" # mid white / light grey bg[INSENSITIVE] = "#ffffff" # white } style "clearlooks-tasklist" = "clearlooks-default" { xthickness = 5 ythickness = 3 } style "clearlooks-menu" = "clearlooks-default" { xthickness = 2 ythickness = 1 bg[NORMAL] = "#ffffff" # white } style "clearlooks-menu-item" = "clearlooks-default" { xthickness = 2 ythickness = 3 fg[PRELIGHT] = "#ffffff" # white text[PRELIGHT] = "#ffffff" # white bg[PRELIGHT] = "#000000" # black } style "clearlooks-menu-itembar" = "clearlooks-default" { xthickness = 3 ythickness = 3 } style "clearlooks-tree" = "clearlooks-default" { xthickness = 2 ythickness = 2 } style "clearlooks-frame-title" = "clearlooks-default" { fg[NORMAL] = "#2a2a2a" # grey } style "clearlooks-tooltips" = "clearlooks-default" { xthickness = 4 ythickness = 4 bg[NORMAL] = "#ffffff" # white } style "clearlooks-progressbar" = "clearlooks-default" { xthickness = 1 ythickness = 1 fg[PRELIGHT] = "#ffffff" # white } style "clearlooks-combo" = "clearlooks-default" { xthickness = 2 ythickness = 3 } # widget styles class "GtkWidget" style "clearlooks-default" class "GtkButton" style "clearlooks-button" class "GtkCombo" style "clearlooks-button" class "GtkRange" style "clearlooks-wide" class "GtkFrame" style "clearlooks-wide" class "GtkMenu" style "clearlooks-menu" class "GtkEntry" style "clearlooks-button" class "GtkMenuItem" style "clearlooks-menu-item" class "GtkStatusbar" style "clearlooks-wide" class "GtkNotebook" style "clearlooks-notebook" class "GtkProgressBar" style "clearlooks-progressbar" class "GtkCheckButton" style "clearlooks-check" class "GtkRadioButton" style "clearlooks-check" widget_class "*MenuItem.*" style "clearlooks-menu-item" # combobox stuff widget_class "*.GtkComboBox.GtkButton" style "clearlooks-combo" widget_class "*.GtkCombo.GtkButton" style "clearlooks-combo" # tooltips stuff widget_class "*.tooltips.*.GtkToggleButton" style "clearlooks-tasklist" widget "gtk-tooltips" style "clearlooks-tooltips" # treeview stuff widget_class "*.GtkTreeView.GtkButton" style "clearlooks-tree" widget_class "*.GtkCTree.GtkButton" style "clearlooks-tree" widget_class "*.GtkList.GtkButton" style "clearlooks-tree" widget_class "*.GtkCList.GtkButton" style "clearlooks-tree" widget_class "*.GtkFrame.GtkLabel" style "clearlooks-frame-title" # notebook stuff widget_class "*.GtkNotebook.*.GtkEventBox" style "clearlooks-notebook" widget_class "*.GtkNotebook.*.GtkViewport" style "clearlooks-notebook" The second depends on the ubuntu-looks engine: # Xedgy-Human theme for Xubuntu # Based on Ubuntu Human Colorscheme # Created by Peter Durrill. style "clearlooks-default" { GtkButton ::default_border = { 0, 0, 0, 0 } GtkRange ::trough_border = 0 GtkPaned ::handle_size = 6 GtkRange ::slider_width = 15 GtkRange ::stepper_size = 15 GtkScrollbar ::min_slider_length = 35 GtkCheckButton ::indicator_size = 14 GtkMenuBar ::internal-padding = 0 GtkTreeView ::expander_size = 14 GtkExpander ::expander_size = 16 GtkScale ::slider-length = 31 # GtkToolbar ::button-relief = GTK_RELIEF_NORMAL # GtkMenuBar ::shadow-type = GTK_SHADOW_OUT # GtkScrollbar ::has-secondary-forward-stepper = 1 # GtkScrollbar ::has-secondary-backward-stepper = 1 GtkButton ::child-displacement-x = 0 GtkButton ::child-displacement-y = 0 xthickness = 1 ythickness = 1 GtkTreeView::odd_row_color = "#ffffff" GtkTreeView::even_row_color = "#f0f0f0" fg[NORMAL] = "#101010" fg[PRELIGHT] = "#000000" fg[ACTIVE] = "#000000" fg[SELECTED] = "#ffffff" fg[INSENSITIVE] = "#aaaaaa" # B3AFAB disabled widget text bg[NORMAL] = "#f5f5f5" # efebe7 background bg[PRELIGHT] = "#f5f5f5" # f5f3f0 ? bg[ACTIVE] = "#ffffff" # E1D9D1 ? bg[SELECTED] = "#f5f5f5" # D6722D ? bg[INSENSITIVE] = "#f0f0f0" # EBE7E3 disabled widget backgrounds base[NORMAL] = "#ffffff" base[PRELIGHT] = "#ffffff" base[ACTIVE] = "#ffffff" # E1D9D1 base[SELECTED] = "#52759f" # FFD799 highlights base[INSENSITIVE] = "#f0f0f0" # EBE7E3 disabled entry widget background text[NORMAL] = "#000000" text[PRELIGHT] = "#000000" text[ACTIVE] = "#000000" text[SELECTED] = "#ffffff" # highlighted text text[INSENSITIVE] = "#f5f5f5" # B3AFAB engine "ubuntulooks" { menubarstyle = 2 # 0 = flat, 1 = sunken, 2 = flat gradient menuitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button) listviewitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient) progressbarstyle = 1 # 0 = candy bar, 1 = fancy candy bar, 2 = flat animation = FALSE } } # Evolution (and some deprecated widgets) use bg and fg for its listview instead of # base and text like they should, so we override it. style "evolution-hack" = "clearlooks-default" { bg[ACTIVE] = "#f5f5f5" # E1D9D1 bg[SELECTED] = "#52759f" # FFD799 gtk combo highlight fg[ACTIVE] = "#000000" fg[SELECTED] = "#ffffff" # 000000 gtk combo highlight text } # Bright orange highlights only for selected widgets style "clearlooks-orange" = "clearlooks-default" { bg[SELECTED] = "#52759f" # FF6D0C } style "clearlooks-wide" = "clearlooks-default" { xthickness = 2 ythickness = 2 } style "clearlooks-wide-orange" = "clearlooks-wide" { bg[SELECTED] = "#52759f" # FF6D0C } style "clearlooks-wider" = "clearlooks-default" { xthickness = 3 ythickness = 3 } style "clearlooks-wider-orange" = "clearlooks-wider" { bg[SELECTED] = "#52759f" # FF6D0C } style "clearlooks-button" = "clearlooks-wider-orange" { bg[PRELIGHT] = "#efefef" # button prelight bg[ACTIVE] = "#e5e5e5" # pressed button } style "clearlooks-notebook" = "clearlooks-wide-orange" { bg[NORMAL] = "#f5f5f5" # efebe5 bg[ACTIVE] = "#f5f5f5" # d0c8c1 bg[INSENSITIVE] = "#f5f5f5" # efebe5 } style "clearlooks-tasklist" = "clearlooks-default" { xthickness = 5 ythickness = 3 } style "clearlooks-menu" = "clearlooks-default" { xthickness = 2 ythickness = 1 bg[NORMAL] = "#f5f5f5" # f8f5f2 menu background } style "clearlooks-menubar-item" = "clearlooks-button" { fg[PRELIGHT] = "#000000" } style "clearlooks-menu-item" = "clearlooks-default" { xthickness = 2 ythickness = 3 bg[SELECTED] = "#52759f" # FFD799 menu highlights fg[PRELIGHT] = "#ffffff" # 000000 highlited menu text text[PRELIGHT] = "#000000" } style "clearlooks-tree" = "clearlooks-wide" { } style "clearlooks-frame-title" = "clearlooks-default" { fg[NORMAL] = "#404040" } style "clearlooks-tooltips" = "clearlooks-default" { xthickness = 4 ythickness = 4 bg[NORMAL] = { 1.0,1.0,1.0 } } style "clearlooks-progressbar" = "clearlooks-wide-orange" { xthickness = 2 ythickness = 2 fg[PRELIGHT] = "#ffffff" } style "clearlooks-combo" = "clearlooks-button" { } style "clearlooks-check" = "clearlooks-button" { } style "clearlooks-range" = "clearlooks-wide-orange" { } style "metacity-frame" = "clearlooks-default" { bg[SELECTED] = "#52759f" # CC863E } style "extra-view-widgets" = "clearlooks-default" { bg[NORMAL] = "#f5f5f5" # F5C07F } # widget styles class "GtkWidget" style "clearlooks-default" class "GtkButton" style "clearlooks-button" class "GtkCombo" style "clearlooks-button" class "GtkRange" style "clearlooks-range" class "GtkFrame" style "clearlooks-wide" class "GtkMenu" style "clearlooks-menu" class "GtkEntry" style "clearlooks-wider-orange" class "GtkMenuItem" style "clearlooks-menu-item" class "GtkNotebook" style "clearlooks-notebook" class "GtkProgressBar" style "clearlooks-progressbar" class "MetaFrames" style "metacity-frame" class "GtkWindow" style "metacity-frame" class "GtkCheckButton" style "clearlooks-check" class "GtkRadioButton" style "clearlooks-check" widget_class "*MenuItem.*" style "clearlooks-menu-item" widget_class "*MenuItem.*ProgressBar*" style "clearlooks-default" # combobox stuff widget_class "*.GtkComboBox.GtkButton" style "clearlooks-combo" widget_class "*.GtkCombo.GtkButton" style "clearlooks-combo" # tooltips stuff widget_class "*.tooltips.*.GtkToggleButton" style "clearlooks-tasklist" widget "gtk-tooltips" style "clearlooks-tooltips" # treeview stuff widget_class "*.GtkTreeView.GtkButton" style "clearlooks-tree" widget_class "*.GtkCTree.GtkButton" style "clearlooks-tree" widget_class "*.GtkList.GtkButton" style "clearlooks-tree" widget_class "*.GtkCList.GtkButton" style "clearlooks-tree" widget_class "*.GtkFrame.GtkLabel" style "clearlooks-frame-title" # notebook stuff widget_class "*.GtkNotebook.*.GtkEventBox" style "clearlooks-notebook" widget_class "*.GtkNotebook.*.GtkViewport" style "clearlooks-notebook" # these should really use base and text colors instead widget_class "*GtkCTree*" style "evolution-hack" widget_class "*GtkList*" style "evolution-hack" widget_class "*GtkCList*" style "evolution-hack" widget_class "*.ETree.*" style "evolution-hack" widget "*.nautilus-extra-view-widget" style:highest "extra-view-widgets" unfortunatly, either I got them on the wiki too late, or they just weren't liked. But here they are for the rest of us.