HungSquirrel
March 28th, 2005, 02:42 PM
I did a Hoary dist-upgrade this morning, and ever since then the colorscheme I made for Clearlooks hasn't been working correctly. When I am in a menu and mouse over an item, its color is the one from the Gnome Default theme, #49667f. Before the update, the menu mouseover highlights were a green gradient somewhere around #87b08d, as can be seen in the Applications menu of this old screenshot (http://hungsquirrel.org/images/ubuntu-030305.jpg). Also, it now renders flat, rather than the raised gradient of Clearlooks. This only happens in my theme. All the other themes, including Clearlooks themes (and including the one I hacked to make mine!), work fine.
To any theme makers/hackers: what do I need to put in my gtkrc to make it work correctly?
My theme is here (http://hungsquirrel.org/clearlooks-gondola.tar.bz2).
My gtkrc:
# Based on Bluecurve
# Modified by Richard Stellingwerff and Emil Jacobs
# Color scheme by Edwin Sheldon (HungSquirrel),
# hacked from Clearlooks-GONX by Billy Cantrell (bvc)
include "icons/iconrc"
style "clearlooks-default"
{
GtkMenuItem::selected_shadow_type = out
GtkWidget::interior_focus = 1
GtkButton::default_border = { 0, 0, 0, 0 }
GtkButton::default_outside_border = { 0, 0, 0, 0 }
GtkRange::trough_border = 0
GtkWidget::focus_padding = 1
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
#GtkOptionMenu::indicator_size = { 11, 6 }
#GtkOptionMenu::indicator_spacing = { 4, 5, 2, 2 }
GtkTreeView::expander_size = 14
GtkExpander::expander_size = 16
xthickness = 1
ythickness = 1
bg[NORMAL] = "#e1e3e1"
bg[SELECTED] = "#87b08d"
bg[INSENSITIVE] = "#e1e3e1"
bg[ACTIVE] = "#acba9f"
bg[PRELIGHT] = "#c9cdc9"
bg[SELECTED] = "#87b08d"
fg[NORMAL] = "#000000"
fg[SELECTED] = "#fffdff"
fg[ACTIVE] = "#000000"
fg[PRELIGHT] = "#000000"
base[NORMAL] = "#fdfdfd"
base[ACTIVE] = "#667766"
base[SELECTED] = "#87b08d"
text[SELECTED] = "#000000"
text[ACTIVE] = "#000000"
text[SELECTED] = "#ffffff"
text[INSENSITIVE] = "#565248"
engine "clearlooks"
{
contrast = 1.2 #1.0
sunkenmenubar = 1
}
}
style "clearlooks-wide" = "clearlooks-default"
{
xthickness = 2
ythickness = 2
}
style "clearlooks-notebook" = "clearlooks-wide"
{
bg[NORMAL] = "#dae0da"
}
style "clearlooks-tasklist" = "clearlooks-default"
{
xthickness = 5
ythickness = 3
}
style "clearlooks-menu" = "clearlooks-default"
{
xthickness = 2
ythickness = 1
}
style "clearlooks-menu-item" = "clearlooks-default"
{
xthickness = 2
ythickness = 3
}
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] = "#404040"
}
style "clearlooks-panel" = "clearlooks-default"
{
xthickness = 3
ythickness = 3
}
style "clearlooks-tooltips" = "clearlooks-default"
{
xthickness = 4
ythickness = 4
bg[NORMAL] = { 0.90,1.0,0.90 }
}
style "clearlooks-progressbar" = "clearlooks-default"
{
xthickness = 0
ythickness = 0
fg[PRELIGHT] = "#000000"
}
style "clearlooks-combo" = "clearlooks-default"
{
xthickness = 1
ythickness = 2
}
style "metacity-frame"
{
# Normal base color
#bg[NORMAL] = "#bbbbbb"
# Unfocused title background color
#bg[INSENSITIVE] = { 0.8, 0.8, 0.8 }
# Unfocused title text color
#fg[INSENSITIVE] = { 1.55, 1.55, 1.55 }
# Focused icon color
#fg[NORMAL] = { 0.2, 0.2, 0.2 }
# Focused title background color
#bg[SELECTED] = { 0.5, 0.8, 0.5 }
# Focused title text color
#fg[SELECTED] = "black"
}
class "GtkWidget" style "clearlooks-default"
class "GtkButton" style "clearlooks-wide"
class "GtkRange" style "clearlooks-wide"
class "GtkFrame" style "clearlooks-wide"
class "GtkStatusbar" style "clearlooks-wide"
class "GtkMenu" style "clearlooks-menu"
class "GtkMenuItem" style "clearlooks-menu-item"
widget_class "*.GtkMenuItem.*" style "clearlooks-menu-item"
widget_class "*.GtkAccelMenuItem.*" style "clearlooks-menu-item"
widget_class "*.GtkRadioMenuItem.*" style "clearlooks-menu-item"
widget_class "*.GtkCheckMenuItem.*" style "clearlooks-menu-item"
widget_class "*.GtkImageMenuItem.*" style "clearlooks-menu-item"
widget_class "*.GtkSeparatorMenuItem.*" style "clearlooks-menu-item"
class "GtkEntry" style "clearlooks-wide"
widget_class "*.tooltips.*.GtkToggleButton" style "clearlooks-tasklist"
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"
widget_class "BasePWidget.GtkEventBox.GtkTable.GtkFrame" style "clearlooks-panel"
widget "gtk-tooltips" style "clearlooks-tooltips"
class "GtkNotebook" style "clearlooks-notebook"
class "GtkProgressBar" style "clearlooks-progressbar"
widget_class "*.GtkComboBox.GtkButton" style "clearlooks-combo"
widget_class "*.GtkCombo.GtkButton" style "clearlooks-combo"
class "MetaFrames" style "metacity-frame"
http://hungsquirrel.org/images/gondola_error.png
To any theme makers/hackers: what do I need to put in my gtkrc to make it work correctly?
My theme is here (http://hungsquirrel.org/clearlooks-gondola.tar.bz2).
My gtkrc:
# Based on Bluecurve
# Modified by Richard Stellingwerff and Emil Jacobs
# Color scheme by Edwin Sheldon (HungSquirrel),
# hacked from Clearlooks-GONX by Billy Cantrell (bvc)
include "icons/iconrc"
style "clearlooks-default"
{
GtkMenuItem::selected_shadow_type = out
GtkWidget::interior_focus = 1
GtkButton::default_border = { 0, 0, 0, 0 }
GtkButton::default_outside_border = { 0, 0, 0, 0 }
GtkRange::trough_border = 0
GtkWidget::focus_padding = 1
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
#GtkOptionMenu::indicator_size = { 11, 6 }
#GtkOptionMenu::indicator_spacing = { 4, 5, 2, 2 }
GtkTreeView::expander_size = 14
GtkExpander::expander_size = 16
xthickness = 1
ythickness = 1
bg[NORMAL] = "#e1e3e1"
bg[SELECTED] = "#87b08d"
bg[INSENSITIVE] = "#e1e3e1"
bg[ACTIVE] = "#acba9f"
bg[PRELIGHT] = "#c9cdc9"
bg[SELECTED] = "#87b08d"
fg[NORMAL] = "#000000"
fg[SELECTED] = "#fffdff"
fg[ACTIVE] = "#000000"
fg[PRELIGHT] = "#000000"
base[NORMAL] = "#fdfdfd"
base[ACTIVE] = "#667766"
base[SELECTED] = "#87b08d"
text[SELECTED] = "#000000"
text[ACTIVE] = "#000000"
text[SELECTED] = "#ffffff"
text[INSENSITIVE] = "#565248"
engine "clearlooks"
{
contrast = 1.2 #1.0
sunkenmenubar = 1
}
}
style "clearlooks-wide" = "clearlooks-default"
{
xthickness = 2
ythickness = 2
}
style "clearlooks-notebook" = "clearlooks-wide"
{
bg[NORMAL] = "#dae0da"
}
style "clearlooks-tasklist" = "clearlooks-default"
{
xthickness = 5
ythickness = 3
}
style "clearlooks-menu" = "clearlooks-default"
{
xthickness = 2
ythickness = 1
}
style "clearlooks-menu-item" = "clearlooks-default"
{
xthickness = 2
ythickness = 3
}
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] = "#404040"
}
style "clearlooks-panel" = "clearlooks-default"
{
xthickness = 3
ythickness = 3
}
style "clearlooks-tooltips" = "clearlooks-default"
{
xthickness = 4
ythickness = 4
bg[NORMAL] = { 0.90,1.0,0.90 }
}
style "clearlooks-progressbar" = "clearlooks-default"
{
xthickness = 0
ythickness = 0
fg[PRELIGHT] = "#000000"
}
style "clearlooks-combo" = "clearlooks-default"
{
xthickness = 1
ythickness = 2
}
style "metacity-frame"
{
# Normal base color
#bg[NORMAL] = "#bbbbbb"
# Unfocused title background color
#bg[INSENSITIVE] = { 0.8, 0.8, 0.8 }
# Unfocused title text color
#fg[INSENSITIVE] = { 1.55, 1.55, 1.55 }
# Focused icon color
#fg[NORMAL] = { 0.2, 0.2, 0.2 }
# Focused title background color
#bg[SELECTED] = { 0.5, 0.8, 0.5 }
# Focused title text color
#fg[SELECTED] = "black"
}
class "GtkWidget" style "clearlooks-default"
class "GtkButton" style "clearlooks-wide"
class "GtkRange" style "clearlooks-wide"
class "GtkFrame" style "clearlooks-wide"
class "GtkStatusbar" style "clearlooks-wide"
class "GtkMenu" style "clearlooks-menu"
class "GtkMenuItem" style "clearlooks-menu-item"
widget_class "*.GtkMenuItem.*" style "clearlooks-menu-item"
widget_class "*.GtkAccelMenuItem.*" style "clearlooks-menu-item"
widget_class "*.GtkRadioMenuItem.*" style "clearlooks-menu-item"
widget_class "*.GtkCheckMenuItem.*" style "clearlooks-menu-item"
widget_class "*.GtkImageMenuItem.*" style "clearlooks-menu-item"
widget_class "*.GtkSeparatorMenuItem.*" style "clearlooks-menu-item"
class "GtkEntry" style "clearlooks-wide"
widget_class "*.tooltips.*.GtkToggleButton" style "clearlooks-tasklist"
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"
widget_class "BasePWidget.GtkEventBox.GtkTable.GtkFrame" style "clearlooks-panel"
widget "gtk-tooltips" style "clearlooks-tooltips"
class "GtkNotebook" style "clearlooks-notebook"
class "GtkProgressBar" style "clearlooks-progressbar"
widget_class "*.GtkComboBox.GtkButton" style "clearlooks-combo"
widget_class "*.GtkCombo.GtkButton" style "clearlooks-combo"
class "MetaFrames" style "metacity-frame"
http://hungsquirrel.org/images/gondola_error.png