style(ui): match the interface to the FWS website's design system
The window carried a palette of its own, so the desktop app and the site looked like two different products. The stylesheet now uses the website's tokens (slate surfaces on a #0f172a page, sky-blue accent, serif headings, pill-shaped badges); the site's rgba() borders are pre-blended because a Qt stylesheet only takes solid colours, and plain widgets are left transparent so the page glow shows through them. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
1 parent
5720c398ef
commit
ed58e87520
23 files changed
+208
-161
No files matched your search
@@ -33,7 +33,7 @@ CleanupPage::CleanupPage(AppCore* core, QWidget* parent) : Page(core, parent) {
|
||||
"manuelle : vérifiez-les un par un avant de les supprimer.");
|
||||
hint->setTextFormat(Qt::RichText);
|
||||
hint->setWordWrap(true);
|
||||
hint->setStyleSheet("font-size: 12px; color: #7a8299;");
|
||||
hint->setStyleSheet("font-size: 12px; color: #94a3b8;");
|
||||
hintLayout->addWidget(hint);
|
||||
|
||||
layout->addWidget(hintCard);
|
||||
@@ -133,7 +133,7 @@ void CleanupPage::populate(const std::vector<PackageInfo>& candidates) {
|
||||
|
||||
QTableWidgetItem* typeItem =
|
||||
new QTableWidgetItem(QString::fromStdString(pkg.cleanupReason));
|
||||
typeItem->setForeground(QColor(pkg.orphan ? "#e0af68" : "#7a8299"));
|
||||
typeItem->setForeground(QColor(pkg.orphan ? "#fbbf24" : "#94a3b8"));
|
||||
typeItem->setIcon(ui::icon(pkg.orphan ? "alert" : "package"));
|
||||
m_table->setItem(i, 2, typeItem);
|
||||
|
||||
|
||||
Reference in new issue
Block a user