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.
This commit is contained in:
LemonNexus 2026-02-14 19:46:14 +00:00
parent 5fc8d85df5
commit e62419a9fd
1 changed files with 3 additions and 3 deletions

View File

@ -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']};
}}