From e62419a9fd9719718d014c498c1520555add5fcc Mon Sep 17 00:00:00 2001 From: LemonNexus Date: Sat, 14 Feb 2026 19:46:14 +0000 Subject: [PATCH] fix: Replace bg_panel with bg_secondary in Dashboard plugin BUG: 'bg_panel' KeyError in Dashboard plugin. The EU_COLORS dictionary doesn't have 'bg_panel'. Changed to use 'bg_secondary' which is the correct background color for panels. --- plugins/dashboard/plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/dashboard/plugin.py b/plugins/dashboard/plugin.py index 47f5ef1..d514940 100644 --- a/plugins/dashboard/plugin.py +++ b/plugins/dashboard/plugin.py @@ -157,7 +157,7 @@ class DashboardPlugin(BasePlugin): customize_btn = QPushButton("Customize") customize_btn.setStyleSheet(f""" QPushButton {{ - background-color: {EU_COLORS['bg_panel']}; + background-color: {EU_COLORS['bg_secondary']}; color: {EU_COLORS['text_secondary']}; border: 1px solid {EU_COLORS['border_subtle']}; border-radius: 4px; @@ -222,7 +222,7 @@ class DashboardPlugin(BasePlugin): card = QFrame() card.setStyleSheet(f""" QFrame {{ - background-color: {EU_COLORS['bg_panel']}; + background-color: {EU_COLORS['bg_secondary']}; border: 1px solid {EU_COLORS['border_subtle']}; border-radius: 8px; }} @@ -285,7 +285,7 @@ class DashboardPlugin(BasePlugin): list_widget = QListWidget() list_widget.setStyleSheet(f""" QListWidget {{ - background-color: {EU_COLORS['bg_panel']}; + background-color: {EU_COLORS['bg_secondary']}; color: white; border: 1px solid {EU_COLORS['border_subtle']}; }}