From dcb2dbf7da82847d71cedebf1b2e4af32f172ddb Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 19 Oct 2026 19:35:10 +0200 Subject: Dashboard: visible neutral swatch, note tiles as future entry points The neutral result color came from QPalette.Mid, which in a dark theme can equal the card background and hid the "removed" swatch; use the muted text color instead. Record in the spec that the dashboard tiles should open their screens once those exist. Co-Authored-By: Claude Opus 5.5 --- sb_builder/dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sb_builder') diff --git a/sb_builder/dashboard.py b/sb_builder/dashboard.py index 20d23e2..d4152ae 100644 --- a/sb_builder/dashboard.py +++ b/sb_builder/dashboard.py @@ -192,7 +192,7 @@ class Dashboard(QWidget): self.bar.set_parts([]) self.legend.setText(NA) return - gray = self.palette().color(QPalette.ColorRole.Mid) + gray = self.palette().color(QPalette.ColorRole.PlaceholderText) # Mid can match the background order = sorted(sr["results"].items(), key=lambda kv: (list(STATUS).index(kv[0]) if kv[0] in STATUS else 99, kv[0])) self.bar.set_parts([(k, v, QColor(STATUS.get(k)) if k in STATUS else gray) for k, v in order]) -- cgit v1.2.3