1 # GIMP GTK+ 2 Mac integration theme
\r
5 # Zukitwo by lassekongo83
\r
6 # Gnome-Cupertino by Rafa Cobreros
\r
9 # Murrine Theme Engine
\r
10 # For a documentation of the Murrine properties see
\r
11 # https://wiki.ubuntu.com/Artwork/Documentation/Murrine
\r
13 # For explanations of the theme properties see:
\r
14 # - the GTK+ 2 Settings Reference Manual
\r
15 # https://developer.gnome.org/gtk2/2.24/GtkSettings.html
\r
16 # - the API documentation of the GTK widgets and
\r
17 # - the Murrine Engine documentation:
\r
18 # https://wiki.ubuntu.com/Artwork/Documentation/Murrine
\r
20 # This theme is free software: you can redistribute it and/or modify
\r
21 # it under the terms of the GNU General Public License as published by
\r
22 # the Free Software Foundation, either version 3 of the License, or
\r
23 # (at your option) any later version.
\r
25 # This program is distributed in the hope that it will be useful,
\r
26 # but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
27 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
28 # GNU General Public License for more details.
\r
30 # You should have received a copy of the GNU General Public License
\r
31 # along with this program. If not, see <http://www.gnu.org/licenses/>.
\r
33 # See the file COPYING for the full license text.
\r
38 ## Color definitions ##
\r
40 gtk_color_scheme = "bg_color:#e8e8e8\nselected_bg_color:#6699cc\nbase_color:#f7f7f7"
\r
43 gtk_color_scheme = "fg_color:#2c2c2c\nselected_fg_color:#f5f5f5\ntext_color:#2c2c2c"
\r
46 gtk_color_scheme = "tooltip_bg_color:#f5f5b5\ntooltip_fg_color:#000000"
\r
49 gtk_color_scheme = "link_color:#08c"
\r
52 gtk_color_scheme = "bg_color_dark:#3f3f3f\ntext_color_dark:#ffffff"
\r
54 # Filechooser sidebar background:
\r
55 gtk-color-scheme = "sidebar_background:#e1e5eb"
\r
58 ## Miscellanous definitions ##
\r
59 gtk-auto-mnemonics = 1 # disables ugly lines under menu items
\r
60 gtk-button-images = 0 # enables icons in buttons
\r
61 gtk-icon-sizes = "gtk-button=16,16" # reduce button icon size
\r
62 gtk-toolbar-style = 0 # disables text in toolbar
\r
68 ### Color Definitions ###
\r
69 base[ACTIVE] = shade (0.92, @selected_bg_color)
\r
70 base[INSENSITIVE] = @bg_color
\r
71 base[NORMAL] = @base_color
\r
72 base[PRELIGHT] = shade (0.95, @bg_color)
\r
73 base[SELECTED] = shade (0.93, @selected_bg_color)
\r
74 bg[ACTIVE] = shade (1.04, @bg_color)
\r
75 bg[INSENSITIVE] = @bg_color
\r
76 bg[NORMAL] = @bg_color
\r
77 bg[PRELIGHT] = shade (1.02, @bg_color)
\r
78 bg[SELECTED] = @selected_bg_color
\r
79 fg[ACTIVE] = @fg_color
\r
80 fg[INSENSITIVE] = darker (@bg_color)
\r
81 fg[NORMAL] = @fg_color
\r
82 fg[PRELIGHT] = @fg_color
\r
83 fg[SELECTED] = @selected_fg_color
\r
84 text[ACTIVE] = @selected_fg_color
\r
85 text[INSENSITIVE] = darker (@bg_color)
\r
86 text[NORMAL] = @text_color
\r
87 text[PRELIGHT] = @text_color
\r
88 text[SELECTED] = @selected_fg_color
\r
93 GnomeHRef::link_color = @link_color
\r
94 GtkHTML::link-color = @link_color
\r
95 GtkIMHtmlr::hyperlink-color = @link_color
\r
96 GtkIMHtml::hyperlink-color = @link_color
\r
97 GtkWidget::link-color = @link_color
\r
98 GtkWidget::visited-link-color = @text_color
\r
99 GtkButton::child-displacement-x = 1
\r
100 GtkButton::child-displacement-y = 1
\r
101 GtkButton::default-border = {0, 0, 0, 0}
\r
102 GtkCheckButton::indicator-size = 15
\r
103 GtkWidget::new-tooltip-style = 1
\r
104 GtkWidget::focus-line-width = 1
\r
106 # 0 = prevent the Firefox tabs from jumping a few pixels when creating a new
\r
107 # tab. Set the value locally if needed.
\r
108 GtkWidget::focus-padding = 0
\r
110 GtkImage::x-ayatana-indicator-dynamic = 1
\r
111 GtkScrollbar::activate-slider = 0
\r
112 GtkScrollbar::has-backward-stepper = 0
\r
113 GtkScrollbar::has-forward-stepper = 1
\r
114 GtkScrollbar::min-slider-length = 30
\r
115 GtkScrollbar::slider-width = 9
\r
116 GtkScrollbar::stepper-size = 1
\r
117 GtkScrollbar::trough-border = 3
\r
118 GtkScrollbar::trough-side-details = 0
\r
119 GtkScrolledWindow::scrollbar-spacing = 0
\r
120 GtkScrolledWindow::scrollbars-within-bevel = 1
\r
121 GtkPaned::handle-size = 6
\r
122 GtkRange::slider-width = 11
\r
123 GtkRange::stepper-size = 0
\r
124 GtkRange::stepper_spacing = 0
\r
125 GtkRange::trough-border = 0
\r
126 GtkRange::trough-under-steppers = 0
\r
127 GtkScale::slider-length = 14
\r
128 GtkScale::slider-width = 14
\r
129 GtkMenuBar::internal-padding = 0
\r
130 GtkExpander::expander-size = 16
\r
131 GtkToolbar::internal-padding = 0
\r
132 GtkTreeView::expander-size = 6
\r
133 GtkTreeView::indent-expanders = 1
\r
134 GtkTreeView::vertical-separator = 1
\r
135 GtkNotebook::tab-curvature = 1 # 1 = default
\r
136 GtkNotebook::tab-overlap = 2 # 2 = default
\r
137 GtkMenu::horizontal-padding = 0
\r
138 GtkMenu::vertical-padding = 0
\r
139 WnckTasklist::fade-overlay-rect = 0
\r
141 # 1 = hint to Gecko (and possibly other appliations) that the entry should be
\r
142 # drawn transparently on the canvas. Without this, Gecko will fill in the
\r
143 # background of the entry.
\r
144 GtkEntry::honors-transparent-bg-hint = 1
\r
146 GtkEntry::state-hint = 0
\r
147 GtkEntry::progress-border = {2, 2, 2, 2}
\r
148 GtkProgressBar::min-horizontal-bar-height = 16
\r
149 GtkProgressBar::min-vertical-bar-width = 16
\r
150 GtkMenuBar::window-dragging = 1
\r
151 GtkToolbar::window-dragging = 1
\r
153 # remove little ugly gripper at the bottom right
\r
154 GtkWindow::resize-grip-height = 0
\r
155 GtkWindow::resize-grip-width = 0
\r
157 # Murrine engine properties
\r
161 arrowstyle = 1 # 1 = filled arrows
\r
162 border_shades = {1.0, 0.7} # gradient to draw on border
\r
163 colorize_scrollbar = TRUE
\r
164 comboboxstyle = 0 # 0 = normal combobox
\r
165 contrast = 0.4 # 0.4 for less contrast on borders
\r
166 default_button_color = "#4c8ed4"
\r
168 focus_color = @selected_bg_color
\r
170 glazestyle = 1 # 1 = curved highlight
\r
172 glowstyle = 1 # 1 = bottom
\r
173 gradient_shades = {1.31, 1.0, 1.0, 1.2} # gradients on the widgets
\r
174 highlight_shade = 1.0 # highlight amount for buttons or widgets
\r
175 lightborder_shade = 1.1 # lightborder amount for buttons or widgets
\r
176 lightborderstyle = 0 # 0 = lightborder on top side
\r
177 listviewheaderstyle = 1 # 1 = glassy
\r
178 listviewstyle = 1 # 1 = dotted
\r
179 menubaritemstyle = 0 # 0 = menuitem look
\r
180 menubarstyle = 2 # 2 = gradient
\r
181 menuitemstyle = 0 # 0 = flat
\r
182 menustyle = 0 # 0 = no vertical menu stripe
\r
184 # shade level for scrollbar's slider, comboboxstyle(1), and prelight state
\r
185 # with gradient_colors:
\r
186 prelight_shade = 0.95
\r
188 progressbarstyle = 0 # 0 = nothing
\r
189 reliefstyle = 2 # 2 = shadow
\r
190 rgba = FALSE # FALSE = disabled
\r
191 roundness = 3 # 0 = squared, greater values increase roundness
\r
192 scrollbarstyle = 0 # 0 = nothing
\r
193 separatorstyle = 1 # 1 = smooth separators
\r
194 shadow_shades = {0.5, 0.0} # gradient for shadows
\r
195 sliderstyle = 0 # 0 = nothing added
\r
196 stepperstyle = 1 # 1 = integrated stepper handles
\r
197 textstyle = 0 # 0 = normal text,1=inset and very resource heavy!
\r
198 toolbarstyle = 2 # 2 = gradient
\r
200 # draw gradient on trough of GtkScrollbar and GtkProgressbar:
\r
201 trough_shades = {0.95, 1.05}
\r
205 style "thin" = "default"
\r
211 style "wide" = "default"
\r
217 style "wider" = "default"
\r
223 style "widest" = "default"
\r
229 ## Widget styles ##
\r
230 style "button" = "wider"
\r
232 bg[ACTIVE] = shade (0.85, @bg_color)
\r
233 bg[INSENSITIVE] = shade (0.95, @bg_color)
\r
234 bg[NORMAL] = shade (1.06, @bg_color)
\r
235 bg[PRELIGHT] = shade (1.2, @bg_color)
\r
236 bg[SELECTED] = shade (1.0, @selected_bg_color)
\r
241 lightborder_shade = 1.9
\r
246 style "comboboxentry"
\r
257 base[ACTIVE] = "#b5d5ff" # background of active text
\r
258 base[INSENSITIVE] = shade(0.85, @base_color) # background text-box disabled
\r
259 base[NORMAL] = @base_color # background text-box
\r
260 base[SELECTED] = "#b5d5ff" # background of selected text
\r
261 bg[INSENSITIVE] = shade(0.85, @base_color) # background spinbutton disabled
\r
263 bg[NORMAL] = @bg_color # base color of edges
\r
264 text[ACTIVE] = @text_color
\r
265 text[SELECTED] = @text_color
\r
272 border_shades = {1.2, 0.90}
\r
274 focus_color = shade(0.75, mix(0.95, "#83aadc", @bg_color))
\r
279 style "filechooser-sidepane-treeview" = "treeview"
\r
281 base[NORMAL] = @sidebar_background # background
\r
282 bg[NORMAL] = shade (0.91, @base_color)
\r
283 bg[PRELIGHT] = @fg_color
\r
285 GtkTreeView::allow-rules = 0 # disable alternating row colors
\r
286 GtkTreeView::even_row_color = @sidebar_background
\r
294 style "frame-title"
\r
296 fg[NORMAL] = lighter (@fg_color)
\r
301 bg[NORMAL] = @base_color
\r
308 border_shades = {1.2, 1.0}
\r
309 roundness = 0 # roundness of menu items
\r
314 style "menu-item" = "wider"
\r
316 bg[SELECTED] = shade (0.95, @selected_bg_color)
\r
317 bg[PRELIGHT] = shade (0.95, @selected_bg_color)
\r
318 fg[PRELIGHT] = @selected_fg_color
\r
325 border_shades = {1.2, 1.0}
\r
331 # This style is there to modify the separator menu items. The goals are:
\r
332 # 1. Get a specific height.
\r
333 # 2. The line should go to the edges (i.e. no border at the left/right)
\r
334 style "menu-separator-item"
\r
336 bg[NORMAL] = @base_color # Remove for visible separators
\r
341 GtkSeparatorMenuItem::horizontal-padding = 0
\r
342 GtkWidget::separator-height = 7
\r
343 GtkWidget::separator-width = 1
\r
344 GtkWidget::wide-separators = 1
\r
348 contrast = 0.0 # set the contrast to 0.6 for visible separators.
\r
353 style "menubar" = "default"
\r
355 bg[NORMAL] = @bg_color
\r
356 fg[NORMAL] = @fg_color
\r
357 fg[PRELIGHT] = @fg_color
\r
358 fg[SELECTED] = @fg_color
\r
361 style "menubar-menuitem" = "wider"
\r
363 bg[PRELIGHT] = @selected_bg_color
\r
364 bg[SELECTED] = @bg_color
\r
368 border_shades = {1.0, 0.8}
\r
370 gradient_shades = {1.0, 1.0, 0.85, 0.85}
\r
377 bg[ACTIVE] = shade (1.04, @bg_color) # unselected tab
\r
378 bg[NORMAL] = shade (0.96, @bg_color) # selected tab entire
\r
386 focus_color = shade (0.96, @bg_color)
\r
388 gradient_shades = {1.18, 0.96, 0.92, 0.92}
\r
393 # performance fix if murrine textstyle is on by default in the theme.
\r
394 style "performance-fix"
\r
402 style "progressbar"
\r
404 bg[SELECTED] = @selected_bg_color
\r
411 gradient_shades = {1.17, 1.00, 1.01, 1.12}
\r
416 style "radiocheck" = "wider"
\r
418 bg[ACTIVE] = shade (0.85, @bg_color)
\r
419 bg[INSENSITIVE] = shade (0.95, @bg_color)
\r
420 bg[NORMAL] = shade (1.06, @bg_color)
\r
421 bg[PRELIGHT] = shade (1.06, @bg_color)
\r
422 bg[SELECTED] = @selected_bg_color
\r
427 lightborder_shade = 1.9
\r
431 style "radiocheck-menu"
\r
433 fg[PRELIGHT] = @selected_fg_color
\r
434 text[PRELIGHT] = @selected_fg_color
\r
437 style "scale" = "wider"
\r
439 bg[ACTIVE] = shade (0.85, @bg_color)
\r
440 bg[INSENSITIVE] = shade (0.95, @bg_color)
\r
441 bg[NORMAL] = shade (1.06, @bg_color)
\r
442 bg[PRELIGHT] = shade (1.2, @bg_color)
\r
443 bg[SELECTED] = @selected_bg_color
\r
447 border_shades = {1.0, 1.0}
\r
450 trough_shades = {1.06, 1.16}
\r
456 bg[ACTIVE] = shade (0.96, @base_color)
\r
457 bg[SELECTED] = shade (0.74, @base_color)
\r
460 fg[ACTIVE] = @base_color
\r
461 fg[INSENSITIVE] = @base_color
\r
462 fg[NORMAL] = @base_color
\r
463 fg[PRELIGHT] = @base_color
\r
464 fg[SELECTED] = @base_color
\r
468 border_shades = {0.935, 1.00}
\r
471 gradient_colors = FALSE
\r
472 gradient_shades = {1.0, 1.0, 1.0, 1.0}
\r
473 highlight_shade = 1.0
\r
474 lightborder_shade = 1.0
\r
475 lightborderstyle = 0
\r
476 prelight_shade = 0.75
\r
478 trough_shades = {0.935, 1.00}
\r
484 bg[NORMAL] = @base_color
\r
488 border_shades = {1.0, 0.7}
\r
490 gradient_shades = {1.01, 1.00, 1.00, 0.93}
\r
491 lightborder_shade = 1.00
\r
492 lightborderstyle = 1
\r
502 style "toolbar" = "thin"
\r
504 bg[NORMAL] = @bg_color
\r
507 style "tooltips" = "wider"
\r
509 bg[NORMAL] = @tooltip_bg_color
\r
510 fg[NORMAL] = @tooltip_fg_color
\r
520 bg[SELECTED] = @selected_bg_color # background mini-checkbox checked
\r
521 fg[NORMAL] = @fg_color # header text color
\r
522 text[ACTIVE] = @selected_fg_color # text+indicator selected unfocused
\r
523 text[NORMAL] = shade (1.05, @fg_color) # text+indicator checked normal
\r
524 text[SELECTED] = @selected_fg_color # text+indicator selected focused
\r
526 # enable alternating row colors for the file chooser's middle pane:
\r
527 GtkTreeView::allow-rules = 1
\r
528 GtkTreeView::odd_row_color = mix (0.05, @selected_bg_color, @base_color)
\r
529 GtkTreeView::even_row_color = @base_color
\r
533 gradient_shades = {1.00, 1.05, 1.05, 1.10}
\r
539 style "treeview-header"
\r
541 bg[ACTIVE] = "#80b8ea"
\r
542 bg[INSENSITIVE] = "#ffffff"
\r
543 bg[NORMAL] = shade (0.95, "#ffffff")
\r
544 bg[PRELIGHT] = shade (1.05, "#80b8ea")
\r
545 bg[SELECTED] = shade (0.95, "#80b8ea")
\r
549 GtkWidget::focus-padding = 0
\r
553 border_shades = {1.2, 1.05}
\r
555 gradient_shades = {1.20, 1.02, 0.99, 1.15}
\r
556 lightborderstyle = 1
\r
561 # workaround style for widgets that use the text color instead of the fg color:
\r
562 style "workaround-for-text-is-fg-color"
\r
564 text[ACTIVE] = @fg_color
\r
565 text[INSENSITIVE] = darker (@bg_color)
\r
566 text[NORMAL] = @fg_color
\r
567 text[PRELIGHT] = @fg_color
\r
568 text[SELECTED] = @selected_fg_color
\r
571 # workaround style for menus that use the text color instead of the fg color:
\r
572 style "workaround-for-menuitem-text-is-fg-color"
\r
574 text[ACTIVE] = @fg_color
\r
575 text[INSENSITIVE] = darker (@bg_color)
\r
576 text[NORMAL] = @fg_color
\r
577 text[PRELIGHT] = @selected_fg_color
\r
578 text[SELECTED] = @selected_fg_color
\r
581 # workaround style for widgets that use the fg color instead of the text color:
\r
582 style "workaround-for-fg-is-text-color"
\r
584 fg[ACTIVE] = @selected_fg_color
\r
585 fg[INSENSITIVE] = darker (@bg_color)
\r
586 fg[NORMAL] = @text_color
\r
587 fg[PRELIGHT] = @text_color
\r
588 fg[SELECTED] = @selected_fg_color
\r
591 # Assign styles to the widgets #
\r
593 # Apply default style to every widget:
\r
594 class "GtkWidget" style "default"
\r
596 # Increase the x/ythickness (= space) in some widgets.
\r
597 class "GtkFrame" style "wide"
\r
598 class "GtkEntry" style "entry"
\r
599 class "GtkSeparator" style "wide"
\r
600 class "GtkCalendar" style "wide"
\r
602 class "GtkInfoBar" style "default"
\r
603 class "GtkIconView" style "default"
\r
604 class "GtkSpinButton" style "spinbutton"
\r
605 widget_class "*<GtkSpinButton>.*.<GtkEntry>" style "entry"
\r
606 class "GtkScale" style "scale"
\r
607 class "GtkVScale" style "scale"
\r
608 class "GtkHScale" style "scale"
\r
609 class "GtkScrollbar" style "scrollbar"
\r
610 class "GtkVScrollbar" style "scrollbar"
\r
611 class "GtkHScrollbar" style "scrollbar"
\r
613 # General matching following, later matching styles override earlier matches.
\r
614 widget_class "*<GtkNotebook>" style "notebook"
\r
615 widget_class "*<GtkButton>" style "button"
\r
616 widget_class "*<GtkStatusbar>*" style "statusbar"
\r
617 widget_class "*<GtkComboBoxEntry>*" style "comboboxentry"
\r
618 widget_class "*<GtkCombo>*" style "comboboxentry"
\r
619 widget_class "*<GtkMenuBar>*" style "menubar"
\r
620 widget_class "*<GtkMenu>*" style "menu"
\r
621 widget_class "*<GtkMenuItem>*" style "menu-item"
\r
622 widget_class "*<GtkSeparatorMenuItem>*" style "menu-separator-item"
\r
623 widget_class "*<GtkMenuBar>*<GtkMenuItem>*" style "menubar-menuitem"
\r
624 widget_class "*<GtkMenuBar>*<GtkSeparatorMenuItem>*" style "menu-separator-item"
\r
625 widget_class "*.<GtkFrame>.<GtkLabel>" style "frame-title"
\r
626 widget_class "*.<GtkTreeView>*" style "treeview"
\r
628 "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.GtkTreeView*"
\r
629 style "filechooser-sidepane-treeview"
\r
630 widget_class "*<GtkProgress>" style "progressbar"
\r
631 widget_class "*<GtkProgressBar>" style "progressbar"
\r
632 widget_class "*<GtkRadioButton>*" style "radiocheck"
\r
633 widget_class "*<GtkCheckButton>*" style "radiocheck"
\r
634 class "GtkCheckMenuItem" style:highest "radiocheck-menu"
\r
635 class "GtkRadioMenuItem" style:highest "radiocheck-menu"
\r
638 widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview-header"
\r
639 widget_class "*.<GtkCTree>.<GtkButton>" style "treeview-header"
\r
640 widget_class "*.<GtkList>.<GtkButton>" style "treeview-header"
\r
641 widget_class "*.<GtkCList>.<GtkButton>" style "treeview-header"
\r
643 # FIXME: This will not work if one embeds eg. a button into the tooltip.
\r
644 widget "gtk-tooltip*" style "tooltips"
\r
646 # Special cases and workarounds: #
\r
648 # workaround for http://bugzilla.gnome.org/show_bug.cgi?id=382646
\r
649 # Note that this workaround assumes that the combobox is _NOT_ in
\r
650 # appears-as-list mode.
\r
651 widget_class "*.<GtkComboBox>.<GtkCellView>"
\r
652 style "workaround-for-text-is-fg-color"
\r
654 # This is the part of the workaround that fixes the menus
\r
655 widget "*.gtk-combobox-popup-menu.*"
\r
656 style "workaround-for-menuitem-text-is-fg-color"
\r
658 # workaround the usage of GtkLabel inside GtkListItems to display text.
\r
659 # This breaks because the label is shown on a background that is based on
\r
661 widget_class "*<GtkListItem>*" style "workaround-for-fg-is-text-color"
\r
663 # GtkCList also uses the fg color to draw text on top of the base colors.
\r
664 widget_class "*<GtkCList>" style "workaround-for-fg-is-text-color"
\r
666 # Draw arrows dark on dark toolbars.
\r
667 widget_class "*GtkToolbar*GtkArrow*" style "default"
\r
669 # Various performance fixes if murrine textstyle is on by default in the theme.
\r
670 widget_class "*GimpDisplayShell*" style "performance-fix"
\r
671 widget_class "*GimpToolbox*" style "performance-fix"
\r
672 widget_class "*GimpMenuDock*" style "performance-fix"