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:
BlackAngelTV committed 2026-09-16 22:34:32 +02:00
1 parent 5720c398ef
commit ed58e87520
23 files changed
+208 -161

No files matched your search

+6 -6
View File
@@ -35,7 +35,7 @@ PluginsPage::PluginsPage(AppCore* core, QWidget* parent) : Page(core, parent) {
"~/.local/share/PacManager/plugins/ ou dans le dossier plugins/ à côté de "
"l'exécutable, puis cliquez sur « Recharger ».");
hint->setWordWrap(true);
hint->setStyleSheet("font-size: 12px; color: #7a8299;");
hint->setStyleSheet("font-size: 12px; color: #94a3b8;");
hintLayout->addWidget(hint);
layout->addWidget(hintCard);
@@ -48,7 +48,7 @@ PluginsPage::PluginsPage(AppCore* core, QWidget* parent) : Page(core, parent) {
m_description = new QLabel("");
m_description->setWordWrap(true);
m_description->setStyleSheet(
"font-size: 13px; color: #c8d3f5; background: transparent; padding: 2px 4px;");
"font-size: 13px; color: #94a3b8; background: transparent; padding: 2px 4px;");
layout->addWidget(m_description);
QHBoxLayout* buttonBar = new QHBoxLayout();
@@ -135,7 +135,7 @@ void PluginsPage::refreshTable() {
: "Fournisseur";
QTableWidgetItem* typeItem =
new QTableWidgetItem(entry.info.builtin ? kindText : kindText + " (externe)");
typeItem->setForeground(QColor("#7a8299"));
typeItem->setForeground(QColor("#94a3b8"));
m_table->setItem(i, 1, typeItem);
m_table->setItem(i, 2, new QTableWidgetItem(QString::fromStdString(entry.info.version)));
@@ -145,13 +145,13 @@ void PluginsPage::refreshTable() {
QColor statusColor;
if (!entry.info.available) {
statusText = "Indisponible";
statusColor = QColor("#565f73");
statusColor = QColor("#64748b");
} else if (enabled) {
statusText = "Actif";
statusColor = QColor("#3fb950");
statusColor = QColor("#34d399");
} else {
statusText = "Désactivé";
statusColor = QColor("#e0af68");
statusColor = QColor("#fbbf24");
}
QTableWidgetItem* statusItem = new QTableWidgetItem(statusText);