Commit 115e2769 authored by Daniel Brötzmann's avatar Daniel Brötzmann Committed by Philipp Hörist

HistoryWindow: Improve search highlight color

parent efe338be
Pipeline #4920 passed with stages
in 3 minutes and 5 seconds
......@@ -47,3 +47,6 @@
.gajim-msg-correcting text {
background: rgb(100, 100, 50)
}
.gajim-search-highlight {
color: rgb(30, 80, 80)
}
......@@ -47,3 +47,6 @@
.gajim-msg-correcting text {
background: rgb(240, 230, 170)
}
.gajim-search-highlight {
color: rgb(170, 220, 220)
}
......@@ -87,7 +87,7 @@ class HistoryWindow(Gtk.ApplicationWindow):
self._ui.scrolledwindow.add(self.history_textview.tv)
self.history_buffer = self.history_textview.tv.get_buffer()
highlight_color = app.css_config.get_value(
'.gajim-highlight-message', StyleAttr.COLOR)
'.gajim-search-highlight', StyleAttr.COLOR)
self.history_buffer.create_tag('highlight', background=highlight_color)
self.history_buffer.create_tag('invisible', invisible=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment