1 # vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et:
3 # This file contains horrible hacks to make this theme work with some programs
4 # This is mostly due to the limitations of GTK 2 but sometimes its the fault of
5 # the programs themselves. Not going to point fingers.
7 # Either way, it's a WONTFIX for both, hence this horrible file.
9 style "toplevel_hack" {
13 style "chrome_entry" {
14 base[NORMAL] = @base_color
15 base[INSENSITIVE] = @base_color
18 style "vim_notebook" {
19 bg[NORMAL] = @base_color
20 bg[ACTIVE] = @bg_color
23 # Vim puts an eventbox between the tab and the label and colours it,
24 # we need to handle that
25 widget "vim-main-window*GtkNotebook.GtkEventBox" style "vim_notebook"
28 class "SexySpellEntry" style:highest "normal_entry"
30 # Chromium uses base as the fill colour of its own entries
31 # This would be fine but GTK uses it to fill the surrounding space, so its set to bg
32 # That results in Chromium using it for the fill, so we need to handle that
33 widget_class "*Chrom*<GtkEntry>" style "chrome_entry"
35 # Hack to be able to match widgets in LibreOffice
36 class "GtkWindow" style "toplevel_hack"