# pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
#
# include "rc-file"
#
# style <name> [= <name>]
# {
#   <option>
# }
#
# widget <widget_set>       style <style_name>
# class  <widget_class_set> style <style_name>


style "gimp-default-style"
{
  stock["gtk-dialog-error"] =
    {
      { "../Default/images/stock-error-64.png", *, *, "gtk-dialog" }
    }
  stock["gtk-dialog-info"] =
    {
      { "../Default/images/stock-info-64.png", *, *, "gtk-dialog" }
    }
  stock["gtk-dialog-question"] =
    {
      { "../Default/images/stock-question-64.png", *, *, "gtk-dialog" }
    }
  stock["gtk-dialog-warning"] =
    {
      { "../Default/images/stock-warning-64.png", *, *, "gtk-dialog" }
    }

# Uncommenting this line allows to set a different (smaller) font for GIMP.
#
# font_name = "sans 8"

# Enabling the following line for some reason breaks toolbox resize
# increment calculation. You can enable it to get an even smaller GUI
# but need to restart GIMP after the theme change.
#
# GtkWidget::focus-padding         = 0

  GtkOptionMenu::indicator-size    = { 5, 11 }
  GtkOptionMenu::indicator-spacing = { 4, 3, 1, 1 }

  GtkPaned::handle-size             = 5
  GimpDockWindow::default-height    = 240
  GimpDock::font-scale              = 0.8333
  GimpMenuDock::minimal-width       = 200
  GimpDockWindow::menu-preview-size = small-toolbar
  GimpToolbox::tool-icon-size       = menu
  GimpToolbox::button-relief        = none
  GimpDockbook::tab-border          = 0
  GimpDockbook::tab-icon-size       = menu
  GimpColorNotebook::tab-border     = 0
  GimpColorNotebook::tab-icon-size  = menu
  GimpDockable::content-border      = 1
  GimpEditor::content-spacing       = 1
  GimpEditor::button-spacing        = 1
  GimpEditor::button-icon-size      = menu
  GimpDataEditor::minimal-height    = 64
  GimpFrame::label-spacing          = 2
  GtkDialog::content-area-border    = 0
  GtkDialog::button-spacing         = 6
  GtkDialog::action-area-border     = 12
  GimpUnitComboBox::appears-as-list = 0
}

class "GtkWidget" style "gimp-default-style"


style "gimp-tool-dialog-style" = "gimp-default-style"
{
  GtkDialog::action-area-border = 6
}

class "GimpToolDialog" style "gimp-tool-dialog-style"


style "gimp-grid-view-style" = "gimp-default-style"
{
  bg[NORMAL] = { 1.0, 1.0, 1.0 }
}

widget "*GimpContainerGridView*GtkViewport*" style "gimp-grid-view-style"


style "gimp-dockable-style" = "gimp-default-style"
{
  GimpFrame::label-bold       = 0
  GtkButton::focus-line_width = 1
  GtkButton::focus-padding    = 0
}

widget "*GimpDockable.*" style "gimp-dockable-style"


style "gimp-display-style" = "gimp-default-style"
{
  GimpRuler::font-scale          = 0.6444
  GimpUnitComboBox::label-scale  = 0.8333
  GimpScaleComboBox::label-scale = 0.8333
  GtkComboBox::arrow-size        = 8
  GtkButton::inner-border        = { 0, 0, 0, 0 }
  GtkButton::focus-line-width    = 0
  GtkButton::focus-padding       = 0
}

widget "*GimpDisplayShell.*" style "gimp-display-style"


style "gimp-overlay-style" = "gimp-display-style"
{
  GtkButton::focus-line_width = 1

  color["fg_color"]          = "#E6E6E6"
  color["bg_color"]          = "#555753"
  color["base_color"]        = "#2E3436"
  color["text_color"]        = "#D3D7CF"
  color["selected_bg_color"] = "#3F403D"
  color["selected_fg_color"] = "#7AA3CC"

  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]	    = @selected_bg_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.9, @selected_bg_color)
  base[SELECTED]    = @selected_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)
}

widget_class "*<GimpOverlayFrame>*" style "gimp-overlay-style"
