fix dark theme

This commit is contained in:
cidoku 2025-10-11 18:12:20 -03:00
parent 76794dda6d
commit fbaeccdb50
2 changed files with 4 additions and 10 deletions

View File

@ -1,7 +1,10 @@
QMainWindow, QSlider, QCheckBox, QLabel#lblMusicVolume,
QLabel#lblSoundVolume, QLabel#lblBlipsVolume, QLabel#lblNotMuted,
QLabel#lblMuted, QLabel#lblIniSwapInfo, QLabel#lblPairOffset,
QLabel#lblPairOffsetY, QLabel#lblPairOrder
QLabel#lblPairOffsetY, QLabel#lblPairOrder, QWidget#tabLog,
QWidget#tabEvidence, QWidget#tabMute, QWidget#tabIniSwap,
QWidget#tabPair, QWidget#tabMisc, QWidget#tabQueue, QWidget#tabMusic,
QWidget#tabPlayers, QWidget#tabBackgrounds
{
color: #eeeeee;
background-color: #111111;

View File

@ -1734,15 +1734,6 @@ class GUI(QtGui.QWidget):
# Design
courtroomDesign = AO2XPpath + "ao2xp_themes/" + theme + '/courtroom_design.ini'
if exists(courtroomDesign):
self.stylesheet = """
QWidget#tabEvidence, QWidget#tabMute, QWidget#tabIniSwap,
QWidget#tabPair, QWidget#tabMisc, QWidget#tabQueue, QWidget#tabMusic,
QWidget#tabPlayers, QWidget#tabBackgrounds
{
background-color: transparent;
}
"""
design = {}
with open(courtroomDesign) as f:
for keys in f.read().split("\n"):