Gimp/themes/System/gtkrc
Jehan 657c39dc74 plug-ins, themes: use the "normal text" color as stdout color of...
... the python console.
It was using "selected text", which is most often inverted color (close
if not identical to the background color). As a consequence, it made
stdout output unreadable by default, forcing themes to always define a
style for the python console. Using "normal text" is a much better
choice to default to something readable from a parent style.

As a consequence, I also removed "python-fu-console" styling from the
System theme, where there should be as few theming as possible.
2018-01-09 18:41:59 +01:00

107 lines
2.8 KiB
Text

# pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
#
# include "rc-file"
#
# style <name> [= <name>]
# {
# <option>
# }
#
# widget <widget_set> style <style_name>
# widget_class <widget_class_set> style <style_name>
# Don't define icons for the Default theme as they are compiled in
#
# include "imagerc"
# Do override some GTK stock icons however.
style "gimp-default-style"
{
stock["gtk-dialog-error"] =
{
{ "../../icons/Color/64x64/apps/gimp-error.png", *, *, "gtk-dialog" }
}
stock["gtk-dialog-info"] =
{
{ "../../icons/Color/64x64/apps/gimp-info.png", *, *, "gtk-dialog" }
}
stock["gtk-dialog-question"] =
{
{ "../../icons/Color/64x64/apps/gimp-question.png", *, *, "gtk-dialog" }
}
stock["gtk-dialog-warning"] =
{
{ "../../icons/Color/64x64/apps/gimp-warning.png", *, *, "gtk-dialog" }
}
# Uncommenting this line allows to set a different font for GIMP.
#
# font_name = "sans 10"
GtkPaned::handle-size = 6
GimpDockWindow::default-height = 300
GimpDock::font-scale = 0.8333
GimpMenuDock::minimal-width = 200
GimpDockWindow::menu-preview-size = button
GimpToolPalette::tool-icon-size = button
GimpToolPalette::button-relief = none
GimpDockbook::tab-border = 0
GimpDockbook::tab-icon-size = button
GimpColorNotebook::tab-border = 0
GimpColorNotebook::tab-icon-size = button
GimpDeviceEditor::handle-size = 12
GimpDockable::content-border = 2
GimpEditor::content-spacing = 2
GimpEditor::button-spacing = 2
GimpEditor::button-icon-size = menu
GimpDataEditor::minimal-height = 96
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
GimpFrame::label-spacing = 2
GtkWidget::focus-line_width = 1
GtkWidget::focus-padding = 0
}
widget "*GimpDockable.*" style "gimp-dockable-style"
style "gimp-display-style" = "gimp-default-style"
{
GimpRuler::font-scale = 0.8333
GimpUnitComboBox::label-scale = 0.8333
GimpScaleComboBox::label-scale = 0.8333
GtkComboBox::arrow-size = 8
GtkButton::inner-border = { 0, 0, 0, 0 }
GtkWidget::focus-line_width = 1
GtkWidget::focus-padding = 0
}
widget "*GimpDisplayShell.*" style "gimp-display-style"