aboutsummaryrefslogtreecommitdiff
path: root/fastiv.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-12-16 04:38:47 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-12-16 04:39:38 +0100
commit0b6b3d8290d6998f0190a6e78386dcf58ab8b4dd (patch)
tree6d9902aa6b148bfaac3bf90ab271a51beb88b2d0 /fastiv.c
parentc3a098c50362e742773f6b96b561bbe7c6a9d083 (diff)
downloadfiv-0b6b3d8290d6998f0190a6e78386dcf58ab8b4dd.tar.gz
fiv-0b6b3d8290d6998f0190a6e78386dcf58ab8b4dd.tar.xz
fiv-0b6b3d8290d6998f0190a6e78386dcf58ab8b4dd.zip
Improve light theme compatibility
@content_view_bg has been there since ever. Many colours remain hardcoded, but it's a major improvement.
Diffstat (limited to 'fastiv.c')
-rw-r--r--fastiv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fastiv.c b/fastiv.c
index 03e4af9..33536a2 100644
--- a/fastiv.c
+++ b/fastiv.c
@@ -579,7 +579,7 @@ main(int argc, char *argv[])
// This is incredibly broken https://stackoverflow.com/a/51054396/76313
// thus resolving the problem using overlaps.
const char *style = "@define-color fastiv-tile #3c3c3c; \
- fastiv-view, fastiv-browser { background: #222; } \
+ fastiv-view, fastiv-browser { background: @content_view_bg; } \
placessidebar.fastiv .toolbar { padding: 2px 6px; } \
placessidebar.fastiv box > separator { margin: 4px 0; } \
fastiv-browser { padding: 5px; } \
@@ -596,8 +596,8 @@ main(int argc, char *argv[])
background-position: 0 0, 0 20px, 20px -20px, -20px 0px; \
} \
fastiv-browser.item.symbolic { \
- border-color: transparent; color: #222; \
- background: #2c2c2c; background-image: none; \
+ border-color: transparent; color: @content_view_bg; \
+ background: @theme_bg_color; background-image: none; \
}";
GtkCssProvider *provider = gtk_css_provider_new();