PDA

View Full Version : [SOLVED] wanted:themers



dzon65
August 31st, 2010, 12:21 PM
Well,it's a long shot but....
I did some color modifications to the equinox light theme.Somehow the color doesn't apply to the gtk selected in the sidepanel (see screenshot),so I guess someting else has to be edited but dunno what.I'll add the gtkrc.

# GTK theme Equinox 1.20

# Author : Matthieu James

# Licence : GPL


# ===[ scroll bars ]===

# bg[ACTIVE] is slider color

# bg[NORMAL] is steppers color

# base[NORMAL] is trough color


# ===[ check and radio buttons ]===

# text[SELECTED] is the active bullet color

# text[INSENSITIVE] is the inactive bullet color

# base[PRELIGHT] is the unchecked base color

# base[SELECTED] is the checked base color

# base[ACTIVE] is the unchecked base color when pressed


# ===[ scales ]===

# bg[NORMAL] is slider color

# bg[PRELIGHT] is slider prelight color

# bg[SELECTED] is slider's focus border color

# base[SELECTED] is trough color


# ===[ progressbars ]===

# bg[NORMAL] is trough color

# bg[SELECTED] is fill color


gtk_color_scheme = "fg_color:#232323\nbg_color:#B5B5B5\nbase_color:#CF CFCF\ntext_color:#232323\nselected_bg_color:#30303 0\nselected_fg_color:#00FFFF\ntooltip_fg_color:#00 FFFF\ntooltip_bg_color:#303030"

gtk-icon-sizes = "panel-menu=22,22:panel=22,22:gtk-button=16,16:gtk-large-toolbar=22,22"


gtk-auto-mnemonic = 1


style "theme-default" {


GtkButton::default_border = { 0, 0, 0, 0 }

GtkButton::child-displacement-x = 0

GtkButton::child-displacement-y = 1

GtkWidget::focus-padding = 0


GtkRange::trough-border = 0

GtkRange::slider-width = 13

GtkRange::stepper_size = 13

GtkRange::stepper_spacing = 0


GtkScrollbar::min_slider_length = 50

GtkScrollbar::has-secondary-forward-stepper = 0

GtkScrollbar::has-secondary-backward-stepper = 1


GtkPaned::handle_size = 6


GtkMenuBar::internal-padding = 0

GtkMenuBar:: shadow-type = GTK_SHADOW_NONE


GtkToolBar:: shadow-type = GTK_SHADOW_NONE


GtkTreeView::expander_size = 13

GtkExpander::expander_size = 13


GtkScale::slider-length = 12

GtkScale::slider-width = 12

GtkScale::trough-border = 2


GtkWidget::link-color = "#0062dc" #blue

GtkIMHtml::hyperlink-color = "#0062dc"

GtkHTML::link-color = "#0062dc"


WnckTasklist::fade-overlay-rect = 0

WnckTasklist::fade-loop-time = 5.0 # 5 seconds

WnckTasklist::fade-opacity = 0.5 # final opacity


#makes menu only overlap border

#GtkMenu::horizontal-offset = -2

GtkMenu::horizontal-padding = 0


#removes extra padding at top and bottom of menus. Makes menuitem overlap border

GtkMenu::vertical-padding = 0


#set to the same as roundness, used for better hotspot selection of tabs

GtkNotebook::tab-curvature = 2.5

GtkNotebook::tab-overlap = 3


GtkMenuItem::arrow-spacing = 10

#Spacing between edge with indicator and text

GtkOptionMenu ::indicator-size = {11, 5}

#GtkOptionMenu ::indicator-spacing = {6, 5, 4, 4}


GtkCheckButton ::indicator-size = 15

GtkCheckButton ::indicator-spacing = 1

GtkRadioButton ::indicator-size = 15


# A new color must be defined since affectation of mix or shade functions to GtkTreeView::odd_row_color raise this message :

# Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x9ccba00)" of type `GString'

color["odd_row_color"] = mix(0.96, shade (0.98, @base_color), @selected_bg_color)

GtkTreeView::horizontal_separator = 2

GtkTreeView::odd_row_color = @odd_row_color


GtkScrolledWindow::scrollbar-spacing = 0

GtkScrolledWindow::scrollbars-within-bevel = 1

GtkScrolledWindow::window-placement-set = 0


GtkEntry::honors-transparent-bg-hint = 1


GtkWidget::new-tooltip-style = 1

GtkImage::x-ayatana-indicator-dynamic = 1


xthickness = 1

ythickness = 1


fg[NORMAL] = @fg_color

fg[ACTIVE] = @fg_color

fg[PRELIGHT] = @fg_color

fg[SELECTED] = @selected_fg_color

fg[INSENSITIVE] = shade (3.0, @fg_color)


bg[NORMAL] = @bg_color

bg[ACTIVE] = shade (1.0125, @bg_color) # inactive tab color

bg[PRELIGHT] = mix (0.85, shade (1.1, @bg_color), @selected_bg_color) # middle progressbar color

bg[SELECTED] = @selected_bg_color

bg[INSENSITIVE] = shade (1.03, @bg_color)


base[NORMAL] = @base_color

base[ACTIVE] = mix (0.35, @selected_bg_color, shade (0.9, @base_color)) # background color for inactive selected items

base[PRELIGHT] = @base_color

base[SELECTED] = @selected_bg_color

base[INSENSITIVE] = shade (1.05, @bg_color)


text[NORMAL] = @text_color

text[ACTIVE] = @text_color # text color for inactive selected items

text[PRELIGHT] = @text_color

text[SELECTED] = @selected_fg_color

text[INSENSITIVE] = mix (0.575, shade (0.95, @bg_color), @fg_color)


engine "equinox" {

curvature = 2.5

menubarstyle = 3 # 0 = flat, 1 = gradient, 2 = flat without border, 3 = gradient without border

toolbarstyle = 5 # 0 = flat, 1 = gradient, 2 = flat without border, 3 = gradient without border, 4 = flat with bottom border, 5 = gradient with bottom border

buttonstyle = 0 # 0 = normal, 1 = glassy

menuitemstyle = 0 # 0 = normal, 1 = glassy

listviewheaderstyle = 0 # 0 = normal, 1 = glassy

scrollbarstyle = 0 # 0 = normal, 1 = glassy, 2 = normal with handles, 3 = glassy with handles

scalesliderstyle = 0 # 0 = normal, 1 = glassy, 2 = normal with bullet

checkradiostyle = 0 # 0 = normal, 1 = glassy

progressbarstyle = 0 # 0 = normal, 1 = glassy

separatorstyle = 1 # 0 = solid, 1 = gradient

animation = TRUE # FALSE = disabled, TRUE = enabled

arrowsize = 0.1 # controls combo_arrow circle size. Diameter set by (11 + 2 * arrowsize)
}
}


style "theme-wide" = "theme-default" {

xthickness = 2

ythickness = 2
}


style "theme-wider" = "theme-default" {

xthickness = 3

ythickness = 3
}


style "theme-widest" = "theme-default" {

xthickness = 4

ythickness = 3
}


style "theme-button" = "theme-wider" {

bg[NORMAL] = shade (1.10, @bg_color)

bg[ACTIVE] = shade (0.86, @bg_color)

bg[PRELIGHT] = shade (1.20, @bg_color)
}


style "theme-toolbar-button" = "theme-button" {

bg[NORMAL] = shade (1.05, @bg_color)

bg[ACTIVE] = shade (0.80, @bg_color)

bg[PRELIGHT] = shade (1.15, @bg_color)
}


style "theme-scrollbar" = "theme-default" {

xthickness = 0

ythickness = 0

text[ACTIVE] = @text_color

bg[ACTIVE] = shade (1.1, @bg_color)

base[NORMAL] = mix (0.25, @bg_color, @base_color)

bg[PRELIGHT] = shade (1.15, @bg_color) #mix (0.5, shade (1.2, @bg_color), @selected_bg_color)

engine "equinox" {

curvature = 6
}
}


style "theme-entry" = "theme-button" {

bg[PRELIGHT] = @bg_color
}


style "theme-frame" = "theme-wide" {

GtkWidget::draw-border = {1,1,1,1}
}


style "theme-handlebox" = "theme-default" {

bg[NORMAL] = shade (0.95, @bg_color)
}


style "theme-scale" = "theme-default" {

bg[NORMAL] = shade (1.05, @bg_color)

bg[PRELIGHT] = shade (1.20, @bg_color)

base[SELECTED] = mix (0.5, @selected_bg_color, shade (0.85, @bg_color))
}


style "theme-range" = "theme-default" {

bg[NORMAL] = shade (1.0930, @bg_color)

bg[PRELIGHT] = mix (0.93, shade (1.14, @bg_color), @selected_bg_color)


#Arrows

text[NORMAL] = shade (0.275,@selected_fg_color)

text[PRELIGHT] = @selected_fg_color

text[ACTIVE] = shade (0.10,@selected_fg_color)

text[INSENSITIVE] = mix (0.80,shade (0.90,@bg_color),@fg_color)
}


style "theme-notebook-bg" = "theme-default" {

bg[NORMAL] = shade (1.05, @bg_color)
}


style "theme-notebook" = "theme-notebook-bg" {

xthickness = 1

ythickness = 1
}


style "theme-menu" = "theme-default" {

xthickness = 0

ythickness = 0

bg[NORMAL] = shade (1.05,@bg_color)

bg[ACTIVE] = shade (1.075,@bg_color)
}


style "theme-menuitem" = "theme-wider" {

fg[PRELIGHT] = @selected_fg_color

text[PRELIGHT] = @selected_fg_color
}


style "theme-menubar" = "theme-default" {

xthickness = 0

ythickness = 1
}


style "theme-menubar-item" = "theme-menuitem" {

bg[SELECTED] = shade (0.90, @bg_color)

fg[PRELIGHT] = @fg_color

fg[NORMAL] = mix (0.85, @fg_color, @bg_color)
}


style "theme-toolbar" = "theme-default" { }


style "theme-tree" = "theme-default" {

xthickness = 2

ythickness = 1


GtkWidget::focus-padding = 0


bg[NORMAL] = shade (1.05, @bg_color)

bg[PRELIGHT] = shade (1.15, @bg_color)

bg[ACTIVE] = shade (1.15, @bg_color)
}


style "theme-tree-arrow" = "theme-default" {

bg[NORMAL] = mix (0.70, shade (0.75, @bg_color), shade (0.80, @selected_bg_color))

bg[PRELIGHT] = mix (0.80, @bg_color, @selected_bg_color)
}


style "theme-calendar" {

xthickness = 0

ythickness = 0

bg[NORMAL] = shade (0.92, @bg_color)

bg[PRELIGHT] = shade (0.92, @bg_color)

bg[ACTIVE] = shade (0.85, @bg_color)

text[PRELIGHT] = @selected_fg_color
}


style "theme-tooltips" = "theme-widest" {

bg[NORMAL] = @tooltip_bg_color

bg[SELECTED] = @tooltip_bg_color

fg[NORMAL] = @tooltip_fg_color

text[NORMAL] = shade (0.92, @tooltip_bg_color) # border color
}


style "theme-progressbar" = "theme-default" {

xthickness = 2

ythickness = 2

font_name = "Bold"

bg[NORMAL] = shade (1.20, @bg_color)

fg[PRELIGHT] = @selected_fg_color
}


style "theme-combo" = "theme-button" {

GtkButton::inner-border = { 0, 1, 0, 0 }

base[ACTIVE] = @base_color

text[ACTIVE] = @fg_color
}


style "theme-combo-box" = "theme-button" {}


style "theme-combo-arrow" = "theme-button" {

xthickness = 1

ythickness = 1
}


style "theme-viewport" = "theme-default" {

xthickness = 8

ythickness = 0

engine "pixmap" {

image {

function = SHADOW
}
}
}


style "theme-check-radio-buttons" = "theme-button" {

#GtkWidget::interior-focus = 0

GtkWidget::focus-padding = 1

text[SELECTED] = mix(0.1, @bg_color, @fg_color)

text[INSENSITIVE] = shade (0.625, @bg_color)

base[PRELIGHT] = mix (0.75, @base_color, @selected_bg_color)

base[SELECTED] = shade (1.15, @bg_color)

base[ACTIVE] = @base_color
}


# widget styles

class "GtkWidget" style "theme-default"

class "GtkScale" style "theme-scale"

class "GtkRange" style "theme-range"

class "GtkFrame" style "theme-frame"

class "GtkEntry" style "theme-entry"

class "GtkProgressBar" style "theme-progressbar"

class "GtkSeparator" style "theme-wide"

class "GtkScrollbar" style "theme-scrollbar"

class "GtkCalendar" style "theme-calendar"

class "GtkViewport" style "theme-viewport"


widget_class "*<GtkButton>" style "theme-button"

widget_class "*<GtkToolbar>*<GtkButton>" style "theme-toolbar-button"

widget_class "*<GtkCheckButton>" style "theme-check-radio-buttons"

widget_class "*<GtkHandleBox>" style "theme-handlebox"


# Toolbar

class "*HandleBox" style "theme-toolbar"

class "GtkToolbar" style "theme-toolbar"

widget_class "*HandleBox" style "theme-toolbar"


# Notebook

widget_class "*<GtkNotebook>*<GtkEventBox>" style "theme-notebook-bg"

widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "theme-notebook-bg"

widget_class "*<GtkNotebook>*<GtkLayout>" style "theme-notebook-bg"

widget_class "*<GtkNotebook>" style "theme-notebook"


# combobox stuff

widget_class "*<GtkCombo>*" style "theme-combo"

widget_class "*<GtkComboBox>*<GtkButton>" style "theme-combo-box"

widget_class "*<GtkComboBoxEntry>*" style "theme-combo"

widget_class "*<GtkSpinButton>*" style "theme-combo"


# tooltips stuff

widget "gtk-tooltip*" style "theme-tooltips"


# treeview stuff

widget_class "*<GtkTreeView>.<GtkButton>" style "theme-tree"

widget_class "*<GtkCTree>.<GtkButton>" style "theme-tree"

widget_class "*<GtkList>.<GtkButton>" style "theme-tree"

widget_class "*<GtkCList>.<GtkButton>" style "theme-tree"


#For arrow bg

widget_class "*<GtkTreeView>.<GtkButton>*<GtkArrow>" style "theme-tree-arrow"

widget_class "*<GtkCTree>.<GtkButton>*<GtkArrow>" style "theme-tree-arrow"

widget_class "*<GtkList>.<GtkButton>*<GtkArrow>" style "theme-tree-arrow"


# Menus

class "GtkMenu" style "theme-menu"

class "GtkMenubar" style "theme-menubar"

widget_class "*<GtkMenuItem>*" style "theme-menuitem"

widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "theme-menubar-item"


################################################## #####

## Panel
################################################## #####


style "theme-panel" {

color["panel_bg"] = shade(1.0, @bg_color)

bg[NORMAL] = @panel_bg

bg[ACTIVE] = shade (0.9, @panel_bg)

bg[SELECTED] = shade (1.0, @panel_bg)

bg[PRELIGHT] = shade (1.15, @panel_bg)
}


style "theme-panel-background" = "theme-panel" {

xthickness = 0

ythickness = 0

bg_pixmap[NORMAL] = "images/panel_bg.png"
}


widget "*PanelWidget*" style "theme-panel-background"

widget "*PanelApplet*" style "theme-panel-background"

widget "*fast-user-switch*" style "theme-panel-background" # Workaround for Fast User Switch applet

class "PanelApp*" style "theme-panel-background"

class "PanelToplevel*" style "theme-panel-background"

widget_class "*Panel*<GtkMenuBar>*" style:highest "theme-panel-background" # The panel menubar

widget "*TomboyTray*" style "theme-panel-background" # Workaround for Tomboy

widget "*TomboyApplet*" style "theme-panel-background"

#XFCE panel

widget_class "*notif*" style "theme-panel-background"

widget_class "*Notif*" style "theme-panel-background"

widget_class "*Tray*" style "theme-panel-background"

widget_class "*tray*" style "theme-panel-background"

widget "*Xfce*Panel*" style "theme-panel-background"

class "*Xfce*Panel*" style "theme-panel-background"


style "theme-button-panel" {

xthickness = 3

ythickness = 3
}

widget_class "*Panel*<GtkButton>" style:highest "theme-button-panel"


style "theme-panelbutton" = "theme-panel" {

bg[NORMAL] = shade(1.1, @panel_bg)

bg[PRELIGHT] = shade(1.25, @panel_bg)

bg[SELECTED] = @selected_bg_color
}


widget "*PanelButton*" style:highest "theme-panelbutton"

widget_class "*Panel*GtkToggleButton" style:highest "theme-panelbutton"

widget_class "*Panel*GtkButton" style:highest "theme-panelbutton"

################################################## #####

## GNOME specific
################################################## #####


widget_class "*.ETree.ECanvas" style "theme-tree" #evolution

widget_class "*.ETable.ECanvas" style "theme-tree" #evolution


#nautilus search stripe and other specialties

style "extra-view" {

bg[NORMAL] = shade (0.6, @bg_color)

fg[NORMAL] = @selected_fg_color
}


style "evolution-new-button-workaround" {

bg[NORMAL] = @bg_color

engine "equinox" {

toolbarstyle = 0
}
}

widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.Bon oboDockItem*" style "evolution-new-button-workaround"


include "apps/nautilus.rc"

include "apps/gnome-system-monitor.rc"

include "apps/gnome-terminal.rc"

dzon65
August 31st, 2010, 01:12 PM
Yeeeh!!Found it.Everything's matching.Problem solved.