From e596e0f67dc44e15fababc138ccd23efb3a01a53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Mon, 10 Aug 2026 15:35:28 -0700 Subject: [PATCH] FuzzySearch: adjust label styles --- data/Application.css | 9 +-------- plugins/fuzzy-search/file-item.vala | 2 ++ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/data/Application.css b/data/Application.css index 7bab5b8cab..2ea64dafb6 100644 --- a/data/Application.css +++ b/data/Application.css @@ -56,20 +56,13 @@ textview.scrubber { .fuzzy-item.preselect-fuzzy { background-color: @selected_bg_color; + color: @selected_fg_color; } .fuzzy-item .fuzzy-file-icon { margin-right: 0.5rem; } -.fuzzy-item label:nth-child(1) { - font-weight: 700; -} - -.fuzzy-item.preselect-fuzzy label { - opacity: 0.7; -} - .symbol-outline > box.horizontal { margin: 1em; } diff --git a/plugins/fuzzy-search/file-item.vala b/plugins/fuzzy-search/file-item.vala index e5f6563fde..965ebcf83e 100644 --- a/plugins/fuzzy-search/file-item.vala +++ b/plugins/fuzzy-search/file-item.vala @@ -27,6 +27,8 @@ public class FileItem : Gtk.ListBoxRow { var path_label = new Gtk.Label ( @"$(should_distinguish_project ? result.project + " • " : "")$(result.relative_path)" ); + path_label.get_style_context ().add_class (Gtk.STYLE_CLASS_DIM_LABEL); + path_label.get_style_context ().add_class (Granite.STYLE_CLASS_SMALL_LABEL); path_label.halign = Gtk.Align.START;