aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render.c')
-rw-r--r--render.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/render.c b/render.c
index 627da5d6..c47133b3 100644
--- a/render.c
+++ b/render.c
@@ -312,9 +312,7 @@ color_dim(const struct terminal *term, uint32_t color)
}
}
- const struct color_theme *theme = term->colors.active_theme == COLOR_THEME_DARK
- ? &conf->colors_dark
- : &conf->colors_light;
+ const struct color_theme *theme = term_theme_get(term);
return color_blend_towards(
color,