Bug#393272: Patch - gtkrc file to use clearlooks
Steve Fosdick
fozzy at ecrins.gotadsl.co.uk
Thu Nov 2 11:55:24 CET 2006
I used to like the DebianRed theme too and have also noticed the problem
with the dispappearing lighthouseblue engine.
>From what I can see this engine has been dropped upstream. In an
attempt to get something similar to the old DebianRed theme I have tried
applying the DebianRed colours to the clearlooks theme. This may
require further tuning but I attach the resulting gtkrc file to go in
/usr/share/themes/DebianRed/gtk-2.0 in case someone finds it a useful
starting point.
Steve.
-------------- next part --------------
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 = 14
GtkMenuBar ::internal-padding = 0
GtkTreeView ::expander_size = 14
GtkExpander ::expander_size = 16
GtkScale ::slider-length = 27
# 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 = 1
GtkButton ::child-displacement-y = 1
WnckTasklist ::fade-overlay-rect = 0
xthickness = 1
ythickness = 1
fg[NORMAL] = "#000000" # black
fg[PRELIGHT] = "#000000" # black
fg[SELECTED] = "#ffffff" # white
fg[ACTIVE] = "#000000" # black
fg[INSENSITIVE] = "#747474" # grey
bg[NORMAL] = "#eeeee0"
bg[PRELIGHT] = "#ddddd0"
bg[SELECTED] = "#d60451"
bg[INSENSITIVE] = "#d6d6d6"
bg[ACTIVE] = "#ccccc0"
base[NORMAL] = "#ffffff" # white
base[PRELIGHT] = "#bbbbb0"
base[ACTIVE] = "#bbbbb0" # darker that pre-light?
base[SELECTED] = "#d60451"
base[INSENSITIVE] = "#e9e9e9"
text[NORMAL] = "#000000" # black
text[PRELIGHT] = "#000000" # black
text[ACTIVE] = "#ffffff" # white
text[SELECTED] = "#ffffff" # white
text[INSENSITIVE] = "#747474"
engine "clearlooks"
{
#scrollbar_color = "#76acde"
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
}
}
style "clearlooks-wide" = "clearlooks-default"
{
xthickness = 2
ythickness = 2
}
style "clearlooks-wider" = "clearlooks-default"
{
xthickness = 3
ythickness = 3
}
style "clearlooks-button" = "clearlooks-wider"
{
bg[NORMAL] = "#f6f4f1"
bg[INSENSITIVE] = "#f2efeb"
bg[PRELIGHT] = "#faf9f8"
}
style "clearlooks-notebook" = "clearlooks-wide"
{
bg[NORMAL] = "#efebe5"
bg[INSENSITIVE] = "#efebe5"
}
style "clearlooks-tasklist" = "clearlooks-default"
{
xthickness = 5
ythickness = 3
}
style "clearlooks-menu" = "clearlooks-default"
{
xthickness = 2
ythickness = 1
bg[NORMAL] = "#f9f7f3"
}
style "clearlooks-menubar-item" = "clearlooks-button"
{
fg[PRELIGHT] = "#000000"
}
style "clearlooks-menu-item" = "clearlooks-default"
{
xthickness = 2
ythickness = 3
fg[PRELIGHT] = "#ffffff"
text[PRELIGHT] = "#ffffff"
}
style "clearlooks-tree" = "clearlooks-default"
{
xthickness = 2
ythickness = 2
}
style "clearlooks-frame-title" = "clearlooks-default"
{
fg[NORMAL] = "#404040"
}
style "clearlooks-tooltips" = "clearlooks-default"
{
xthickness = 4
ythickness = 4
bg[NORMAL] = { 1.0,1.0,0.75 }
}
style "clearlooks-progressbar" = "clearlooks-wide"
{
xthickness = 1
ythickness = 1
fg[PRELIGHT] = "#ffffff"
}
style "clearlooks-combo" = "clearlooks-button"
{
}
# widget styles
class "GtkWidget" style "clearlooks-default"
class "GtkButton" style "clearlooks-button"
class "GtkScale" 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-wider"
class "GtkMenuItem" style "clearlooks-menu-item"
class "GtkNotebook" style "clearlooks-notebook"
class "GtkProgressBar" style "clearlooks-progressbar"
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"
More information about the Pkg-gnome-maintainers
mailing list