From 0327a3e47aea0c643f9c6be785ffe5bb2cc0c77d Mon Sep 17 00:00:00 2001 From: Marc Skov Madsen Date: Tue, 9 Nov 2021 08:19:48 +0100 Subject: [PATCH] fix #2896: Colorbar background for dark theme --- panel/template/fast/theme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel/template/fast/theme.py b/panel/template/fast/theme.py index 8b6f6de9a9..775a0f23bf 100644 --- a/panel/template/fast/theme.py +++ b/panel/template/fast/theme.py @@ -100,6 +100,7 @@ def create_bokeh_theme(self): "background_fill_color": self.neutral_fill_card_rest, }, "ColorBar": { + "background_fill_color": self.background_color, "title_text_color": self.neutral_foreground_rest, "title_text_font": self.font, "title_text_font_size": "1.025em", @@ -107,7 +108,6 @@ def create_bokeh_theme(self): "major_label_text_color": self.neutral_foreground_rest, "major_label_text_font": self.font, "major_label_text_font_size": "1.025em", - # "background_fill_color": FAST_DARK_75, "major_tick_line_alpha": 0, "bar_line_alpha": 0, },