diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-19 19:35:10 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-19 19:35:10 +0200 |
| commit | dcb2dbf7da82847d71cedebf1b2e4af32f172ddb (patch) | |
| tree | ab079783838e73d1d0d73d6629b0b34334d0d2ca /sb_builder/dashboard.py | |
| parent | 14180a2c200c4b7aba23a6d34be8b3af9f682f70 (diff) | |
| download | sb-builder-dcb2dbf7da82847d71cedebf1b2e4af32f172ddb.tar.gz sb-builder-dcb2dbf7da82847d71cedebf1b2e4af32f172ddb.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'sb_builder/dashboard.py')
| -rw-r--r-- | sb_builder/dashboard.py | 2 |
1 files changed, 1 insertions, 1 deletions
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]) |
