style "fix"
{
xthickness = 0
ythickness = 0
bg_pixmap[NORMAL] = "shadows/window-bg.png"
}

class "*Panel*" style "fix"

style "panel"
{
	
	fg[NORMAL]        = @fg_color
	fg[PRELIGHT]      = @fg_color
	fg[SELECTED]      = @selected_fg_color
	fg[ACTIVE]        = @fg_color
	fg[INSENSITIVE]   = darker (@bg_color)

	bg[NORMAL]        = @bg_color
	bg[PRELIGHT]      = shade (1.02, @bg_color)
	bg[SELECTED]	  = @metacity_frame_color
	bg[INSENSITIVE]   = @bg_color
	bg[ACTIVE]        = shade (0.9, @bg_color)

	base[NORMAL]      = @base_color
	base[PRELIGHT]    = shade (0.95, @bg_color)
	base[ACTIVE]      = shade (0.90, @bg_color)
	base[SELECTED]    = mix(0.50, shade (1.05,@selected_bg_color), @tooltip_bg_color)
	base[INSENSITIVE] = @bg_color

	text[NORMAL]      = @text_color
	text[PRELIGHT]    = @text_color
	text[ACTIVE]      = @selected_fg_color
	text[SELECTED]    = @selected_fg_color
	text[INSENSITIVE] = darker (@bg_color)
	
	xthickness = 1
	ythickness = 1

	fg[NORMAL] = mix(0.60, @bg_color, @fg_color)
	fg[PRELIGHT] = lighter(mix(0.90, lighter(@selected_bg_color), @bg_color))
	fg[ACTIVE] = lighter(mix(0.50, lighter(@selected_bg_color), @bg_color))
	
  	
	bg[NORMAL] = "#432E1F" 
	bg[PRELIGHT] = shade(2.0, "#432E1F") 
	bg[ACTIVE] = shade(1.5, "#432E1F")
	bg[SELECTED] = shade(2.0,"#432E1F")
	

  	bg_pixmap[NORMAL] = "panel/panel_bg.svg"	
  	
}

#############################################################
#THESE DECLARATIONS MAKE SURE THE PANEL STILL USES PANEL STYLE
#############################################################

widget "*PanelWidget*" 					style "panel"
widget "*PanelApplet*" 					style "panel"
widget "*fast-user-switch*"				style "panel"
class "PanelApp*" 					style "panel"
class "PanelToplevel*" 					style "panel"
widget_class "*Mail*" 					style "panel"
widget_class "*notif*" 					style "panel"
widget_class "*Notif*" 					style "panel"
# @author:dilomo@ cpu-frequency applet was with dark text. Fix it. 
widget_class "*FreqApplet*"				style "panel"
