Fix dark theme tooltip text color

This commit is contained in:
Mateus Meyer Jiacomelli 2021-09-05 07:19:44 +00:00 committed by Tim Bentley
parent 66e8063335
commit 34cfe9b8cd

View File

@ -207,7 +207,7 @@ def set_default_darkmode(app):
dark_palette.setColor(QtGui.QPalette.Base, QtGui.QColor(18, 18, 18)) dark_palette.setColor(QtGui.QPalette.Base, QtGui.QColor(18, 18, 18))
dark_palette.setColor(QtGui.QPalette.AlternateBase, dark_color) dark_palette.setColor(QtGui.QPalette.AlternateBase, dark_color)
dark_palette.setColor(QtGui.QPalette.ToolTipBase, QtCore.Qt.white) dark_palette.setColor(QtGui.QPalette.ToolTipBase, QtCore.Qt.white)
dark_palette.setColor(QtGui.QPalette.ToolTipText, QtCore.Qt.white) dark_palette.setColor(QtGui.QPalette.ToolTipText, QtCore.Qt.black)
dark_palette.setColor(QtGui.QPalette.Text, QtCore.Qt.white) dark_palette.setColor(QtGui.QPalette.Text, QtCore.Qt.white)
dark_palette.setColor(QtGui.QPalette.Disabled, QtGui.QPalette.Text, disabled_color) dark_palette.setColor(QtGui.QPalette.Disabled, QtGui.QPalette.Text, disabled_color)
dark_palette.setColor(QtGui.QPalette.Button, dark_color) dark_palette.setColor(QtGui.QPalette.Button, dark_color)