diff --git a/src/voxd/core/model_manager.py b/src/voxd/core/model_manager.py index 5941615..6fa046a 100644 --- a/src/voxd/core/model_manager.py +++ b/src/voxd/core/model_manager.py @@ -61,6 +61,52 @@ def __init__(self, parent: QWidget | None = None): self.setWindowTitle("Manage Whisper Models") self.setMinimumWidth(600) + # Explicit dark styling to match other dialogs + self.setStyleSheet(""" + QDialog, QWidget { + background-color: #2e2e2e; + color: white; + } + QTableWidget { + background-color: #2e2e2e; + color: white; + gridline-color: #555; + } + QTableWidget::item { + background-color: #2e2e2e; + color: white; + } + QTableWidget::item:selected { + background-color: #E03D00; + } + QHeaderView::section { + background-color: #3e3e3e; + color: white; + border: 1px solid #555; + padding: 4px; + } + QPushButton { + background-color: #555; + color: white; + border: 1px solid #666; + border-radius: 3px; + padding: 4px 10px; + } + QPushButton:hover { + background-color: #666; + } + QProgressBar { + background-color: #3e3e3e; + border: 1px solid #555; + border-radius: 3px; + text-align: center; + color: white; + } + QProgressBar::chunk { + background-color: #E03D00; + } + """) + layout = QVBoxLayout(self) self.table = QTableWidget(0, 4) self.table.setHorizontalHeaderLabels(["Name", "Size", "Status", "Action"]) diff --git a/src/voxd/gui/settings_dialog.py b/src/voxd/gui/settings_dialog.py index c80ee22..f16affb 100644 --- a/src/voxd/gui/settings_dialog.py +++ b/src/voxd/gui/settings_dialog.py @@ -44,6 +44,46 @@ def __init__(self, cfg: AppConfig, parent=None): super().__init__(parent) self.setWindowTitle("Settings") self.cfg = cfg + + # Explicit dark styling to match other dialogs + self.setStyleSheet(""" + QDialog, QWidget { + background-color: #2e2e2e; + color: white; + } + QLabel { + color: white; + background-color: transparent; + } + QScrollArea { + background-color: #2e2e2e; + border: none; + } + QSpinBox, QDoubleSpinBox, QComboBox, QLineEdit { + background-color: #3e3e3e; + color: white; + border: 1px solid #555; + border-radius: 3px; + padding: 2px 5px; + } + QComboBox QAbstractItemView { + background-color: #3e3e3e; + color: white; + selection-background-color: #E03D00; + } + QDialogButtonBox QPushButton { + background-color: #555; + color: white; + border: 1px solid #666; + border-radius: 3px; + padding: 5px 15px; + min-width: 70px; + } + QDialogButtonBox QPushButton:hover { + background-color: #666; + } + """) + # Let the dialog size adapt naturally to its contents; # scroll-area will provide overflow protection.