Skip to content

Commit 2d2e46a

Browse files
committed
Update GUI
1 parent 753459f commit 2d2e46a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pyqt_openai/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ def move_bin(filename, dst_dir):
213213
DEFAULT_FONT_SIZE = 12
214214
DEFAULT_FONT_FAMILY = "Arial"
215215

216+
DEFAULT_HIGHLIGHT_TEXT_COLOR = "#A2D0DD"
216217
DEFAULT_BUTTON_HOVER_COLOR = "#A2D0DD"
217218
DEFAULT_BUTTON_PRESSED_COLOR = "#B3E0FF"
218219
DEFAULT_BUTTON_CHECKED_COLOR = "#B3E0FF"

pyqt_openai/settings_dialog/voiceSettingsWidget.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from pyqt_openai import (
1414
WHISPER_TTS_VOICE_TYPE,
1515
WHISPER_TTS_VOICE_SPEED_RANGE,
16-
EDGE_TTS_VOICE_TYPE,
16+
EDGE_TTS_VOICE_TYPE, DEFAULT_HIGHLIGHT_TEXT_COLOR,
1717
)
1818
from pyqt_openai.config_loader import CONFIG_MANAGER
1919
from pyqt_openai.lang.translations import LangClass
@@ -50,7 +50,7 @@ def __initUi(self):
5050
"<a href='https://mpv.io/installation/'>Link</a>"
5151
)
5252
self.__warningLbl.setOpenExternalLinks(True)
53-
self.__warningLbl.setStyleSheet("color: yellow;")
53+
self.__warningLbl.setStyleSheet(f"color: {DEFAULT_HIGHLIGHT_TEXT_COLOR};")
5454
self.__warningLbl.setVisible(self.voice_provider == "edge-tts")
5555

5656
detailsGroupBox = QGroupBox("Details")

0 commit comments

Comments
 (0)