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:
parent
5fc8d85df5
commit
e62419a9fd
|
|
@ -157,7 +157,7 @@ class DashboardPlugin(BasePlugin):
|
||||||
customize_btn = QPushButton("Customize")
|
customize_btn = QPushButton("Customize")
|
||||||
customize_btn.setStyleSheet(f"""
|
customize_btn.setStyleSheet(f"""
|
||||||
QPushButton {{
|
QPushButton {{
|
||||||
background-color: {EU_COLORS['bg_panel']};
|
background-color: {EU_COLORS['bg_secondary']};
|
||||||
color: {EU_COLORS['text_secondary']};
|
color: {EU_COLORS['text_secondary']};
|
||||||
border: 1px solid {EU_COLORS['border_subtle']};
|
border: 1px solid {EU_COLORS['border_subtle']};
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
|
@ -222,7 +222,7 @@ class DashboardPlugin(BasePlugin):
|
||||||
card = QFrame()
|
card = QFrame()
|
||||||
card.setStyleSheet(f"""
|
card.setStyleSheet(f"""
|
||||||
QFrame {{
|
QFrame {{
|
||||||
background-color: {EU_COLORS['bg_panel']};
|
background-color: {EU_COLORS['bg_secondary']};
|
||||||
border: 1px solid {EU_COLORS['border_subtle']};
|
border: 1px solid {EU_COLORS['border_subtle']};
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}}
|
}}
|
||||||
|
|
@ -285,7 +285,7 @@ class DashboardPlugin(BasePlugin):
|
||||||
list_widget = QListWidget()
|
list_widget = QListWidget()
|
||||||
list_widget.setStyleSheet(f"""
|
list_widget.setStyleSheet(f"""
|
||||||
QListWidget {{
|
QListWidget {{
|
||||||
background-color: {EU_COLORS['bg_panel']};
|
background-color: {EU_COLORS['bg_secondary']};
|
||||||
color: white;
|
color: white;
|
||||||
border: 1px solid {EU_COLORS['border_subtle']};
|
border: 1px solid {EU_COLORS['border_subtle']};
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue